Jump to content

Sup Everyone!

(THis is java btw)

Quick question to all you software geeks out there. For an open source project, is it possible to build it, while injecting some code into it?

That sounded a bit eh, so Ill try to elaborate.

If I use a project that is open source, but have some private fixes for it. If the project is updated, my fixes (class files) simply break as they might have been updated. What I want is something that builds a version of the opensource project, with the fix injected into it. So my fix is automatically added into the updated class file. So its not like it overwrites the whole class file, it just overwrites the previously broken code.

Is this possible?

Lets all ripperoni in pepperoni

Link to comment
https://linustechtips.com/topic/483650-github-and-automated-build-server/
Share on other sites

Link to post
Share on other sites

I don't think this is something that you could fully automate, while you could get something that worked sometimes there would still be occasions when git is unable to resolve the conflicts between the open-source project and your changes.

 

However if these changes are actually fixes why don't you contribute to the project yourself, then you won't need to worry about conflicts.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×