Have you ever modified the source code of an open source application?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: Have you ever modified the source code of an open source application?
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Rep:
Have you ever modified the source code of an open source application?
The LQ poll series continues. Have you ever modified the source code of an open source application? For the purpose of this poll, compiling from source (a poll on this coming soon) or just changing the config does not count. We'd like to know if you've ever modified code and then used the resulting code on one of your systems.
My answer is, "Yes", but more frequently in times past. I have occasionally submitted patches upstream, too, but not often. Several times in the past, I have seen to hiring people to make changes I needed and pass them back upstream. One case was a textbook example of success. Another was a short term failure, such that our project did not benefit, but accidentally got some attention and later morphed into a long term success and thus benefitted others very much.
Lately the tasks are often out of reach and the process more bureaucratic so I try less often and even then only sometimes does someone else have the time and interest and ability to pick up the idea and complete it.
The barriers for participation are complexity and high skill level. The low-skill projects end up being too complex to participate in casually and the high skill projects require expert level experience.
However, in regards to the question, "have you ever modified the source code of an open source application", I'd rather see that expanded to include documentation. The manual pages are about as important as the source code even if they often get less love than they need outside the BSDs.
Once, in the 1980s, I re-wrote parts of the code for a printer driver — in assembly language, too. But that, like all my coding, was the product of desperation rather than pleasure. I'm just relieved that I haven't had to do anything like that this century.
If you use any of the big standard distributions in a large heterogeneous corporate environment, you will find the process of getting bugs fixed in the distro is so tedious and slow that you frequently have to patch locally now rather than send the patch upstream and wait for updates. (This contrasts strongly with using FOSS software direct from author(s) instead of through a distro.)
For example RHEL8 has an selinux policy that prevents systemd from loading iptables - pretty disastrous, right? And might even be pretty simple to fix since it looks like a regression to a known Fedora bug, right?
Red Hat: Well, it'll get fixed in the next quarterly update set, yawn yawn.
Not meaning to pick solely on Red Hat, just using a current and pertinent example.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
I'm not really sure if this counts, since there is no license for the program, and it's not been released for public download AFAIK. But anyway, another member wrote me a program to help with my mathematical skills/improving them, and I managed to add a fopen() call so it would save the end result/my "score" to a file, rather than having to keep copying and pasting the result/score into a text file each time I run it.
So if the above does count, then yes, although it wasn't much, just a couple of lines and that's it. If the above doesn't count, then no, I haven't.
I voted No. I have applied other people's patches to open source applications (qmail works much better after patching), but I didn't create the patches myself.
that is an interesting example: we reworked the perl script debmirror to fit our needs (if I remember well we make it run much faster too), but did not contribute ahything. Does it count?
that is an interesting example: we reworked the perl script debmirror to fit our needs (if I remember well we make it run much faster too), but did not contribute anything. Does it count?
Well, I'm assuming it counts, as that sort of thing is what I did - I hacked up minicom to have an internet service running (well, 2 actually) to allow controlling, remotely if/where/when it did logging. And other stuff - its been a while and I'd have to go look at the code.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.