News for hackers. Stuff that matters.
Re:Hack everything without fear by kovek on Saturday March 17, 2018 @04:22PM (#16608879)
I've found it easy with python recently.

- Go on github, find the repo

- Fork the repo

- git clone https://github.com/me/forked_repo

- cd into the repo, and 'git checkout -b me_myfix'

- write your change

- cd ..

- 'pip uninstall forked_repo' so that you can work with your fork's clone instead

- Sometimes, if the repo has a setup.py, some symbolic linking needs to be setup so we can easily do 'import forked_repo'

- use 'import forked_repo'

- later, you can do 'git push origin me_myfix' and submit a pull request from Github.

I think there is a better way but I did not think about this problem much. It would be nice if someone could outline how to go about this properly. And there's almost no chance I could do this with another language since I am not as comfortable with the building/packaging with other languages.

Re:Hack everything without fear by UncleEntity on Saturday March 17, 2018 @07:22PM (#16609610)
Sometimes you don't even need to do a pull request if you have your fork on the same platform.

A while back I needed py3k support in pybindgen so hacked it in and it magically got merged into the main branch. Surprisingly, as is -- I guess I can hack on the python good enough ;)

Re:Hack everything without fear by pjscott on Saturday March 17, 2018 @06:35PM (#16609405)
That should mostly apply to other languages. Only the pip/import parts differ, and those generally have straightforward counterparts since most package management systems these days are pretty similar.