Slashdot Mirror


Improving Open Source Using Software Process Concepts?

icanoop asks: "I'm working on a project to help improve open source development using mature software process concepts. What process issues do open source developers think are most important and/or can be improved? If you are interested in seeing what is being considered read the problem statement at the project site. It's not final so feel free to suggest changes."

18 of 34 comments (clear)

  1. It would be nice by infonography · · Score: 4, Interesting
    To have a more coordinated setup. I have lots of misgivings about just putting alpha code up on the web and claiming some victory.

    It chases off professionals interested in real projects. 'Oh I don't want to get involved with that, there are 30 projects like it on Sourceforge.....'

    Maybe my gripe it with how the opensource projects are handled.

    Vaporware that sits for 2 years is not a project.

    --
    Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
  2. Considerations: by Ayanami+Rei · · Score: 5, Insightful

    I can give you a list of things to avoid:

    1) Allowing the developers to dictate the initial design rules. Allow a focus group determine what it is that is required, then let the developers determine how feasible it will be to implement.

    2) Fear of COTS product integration. That is, use the right tool for the job. Of course, if everyone's a whiz with CVS and Emacs, then the more power to them. But don't let anyone make a project a "perfect fit" for their tool of choice which no one else is willing to use. That will cause problems later.

    3) Not using outside code / help. Often times, portions of what you want to do have already been beaten to death. Look hard.

    Of course, you know all of this. It seems your problem statement and proposed solutions on the linked site are quite thorough; I don't see anything that looks like a sticking point.

    Maybe you want to restate the question.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  3. Step one: by CdotZinger · · Score: 5, Funny


    Save man-years by not saying things like "mature software process concepts" when you mean things like "good plan."

    --
    Your mouth is like Columbus Day.
  4. Focus Group can kiss my.... by MrBlack · · Score: 4, Informative

    Focus Group? If I'm writing code for FUN in my OWN TIME then I think that I should be able to determine what I write, not some focus group. I don't tell others how to spend their free time, why should they be able to tell me. If the focus group want feature X then they can code it themselves....

    1. Re:Focus Group can kiss my.... by Bake · · Score: 3, Insightful

      Well, if it's on your own time, then might I suggest you just back away from the project?

      If it is on your own time after all, I don't see how anyone can force you to write according to what the focus groups say, not like you're getting paid for it or anything.

      If I decided to start my own project, I sure as hell wouldn't want somebody to start commiting code to said project when the code benefits no one, apart from possibly its author.

      If you want to do something with my code, fine, fork the project, just don't get your knickers in a knot when I decide your code doesn't belong in my project.
      It is after all MY project that _I_ started and _I_ control.

    2. Re:Focus Group can kiss my.... by Hast · · Score: 3, Insightful

      Good job at not getting his point.

      If you start a project "for fun" then focus groups are overkill. Now if someone uses your program and finds a missing feature and submit the patch then you have the "focus group" and coder in one person. That's the basic idea with OSS.

      You as a maintainer don't have to include it, but most project maintainers have too little time already so I recon they'd appreciate some help.

  5. Bitkeeper, CVS, et al. by e8johan · · Score: 4, Insightful
    In my opinion the project aims at three problems:
    1. Lack of a plan.
    2. Lack of peer reviewing.
    3. Lack of predictability (both feature and time wise).
    There are many points here, but one of the most important is the lack of a plan. It would greatly benefit most OSS projects if there was a plan of features to be implemented. This would not only tell users and project members where the project is heading, but also prevents eyecandy and other code bloating problems to enter the project too early. It would be good if a feature had to be on the TO-DO list to be included into the project source tree. This way each feature has to be discussed, specified and granted before being implemented. This helps building more consistent software.

    The second problem, peer reviewing, could be solved by including it in the code versioning system (hense the subject of this reply...). All code must be tested and reviewed by an independen peer before included in the source tree. By introducing automatic testing, such as a small test bench application showing that the submission works, modularity is encouraged. By introducing good modularity, new patches are more easily tested and included in the source tree.

    The last point is mainly a project management issue. Someone has to say that these features will be available at this date in this release. This problem is simply the addition of time to the first problem (a plan). This is the thoughest challenge when working with spare-time programmers. Not many will be happy about commiting to a project, then being forced to keep a time plan. Anyway, this can be enforced in the big, with partially paid work-time, projects.
  6. Code auditing system by Twylite · · Score: 3, Interesting

    I've made this suggestion several times before; what we really need in OpenSource development is a reliable and powerful code auditing controller.

    While direction and design are problems experienced by a lot of OpenSource software, it is quality and security issues which are of more concern to mature projects, which have the highest visibility and widest use.

    A code audit system would allow a project to be viewed as a graph of procedures/methods, and force every procedure to be marked as audited by a number (variable threshold) of auditers of a predetermined "skill level". i.e. the designers and core audit team together decide that certain procedures and modules are sensitive, and require an audit by three senior/trusted auditors; other less sensitive code requires only to junior auditors.

    The system could track the auditing in conjunction with source code control, and use the software call graph to invalidate audits on procedures when dependancies are modified (and automatically marked as unaudited).

    e.g. Procedure A calls procedures B and C. They are all marked as completely audited. Any change to Procedure C will necessarily invalidate the audit on C, and by relationship invalidate the audit on A. Once C is re-audited, the audit of A will still have to be performed again (unless, say, a special "interface not changed" flag is used on the re-audit of C).

    In this way everyone can be happy that a project release is secure and reliable, based on the extent of the audited code.

    --
    i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
    1. Re:Code auditing system by Hard_Code · · Score: 2

      Ugh...this might be ok for mature and stable software...but for new projects auditing like this would just kill them.

      --

      It's 10 PM. Do you know if you're un-American?
    2. Re:Code auditing system by Twylite · · Score: 3, Interesting

      I agree completely, although there should be no harm in having auditing available to new projects (project leaders just wouldn't consider it for the purposes of when to stablise and release).

      Although I would like to contribute more to OSS development, I have very little time or opportunity. In a project of any maturity which has a well designed and documented code structure and is employing DBC (design by contract), it is very easy to audit a single function now and then. Coding the function is somewhat more time consuming - even with strict modularity it takes some time to understand the requirements and implement them.

      I'm betting that there are many eyes out there willing to find the bugs, but not sufficient tools to track where the eyes are (and should be) looking.

      --
      i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
  7. In short: More bureaucracy by heikkile · · Score: 3, Insightful
    Most OS projects that I know do not start with a clear set of requirements, since they are not made to satisfy a need on the market place. They are started to scratch a personal itch, or just for the fun of it. If they turn out to be popular, they attract more people to them, and some discussion on the overall planning is in place, and some process starts to develope. But if someone comes from the outside and starts to say "no-no-no, you have to do it *this* way, and write all these papers *before* you start coding, this outsider will most likely feel himself not at all welcome, no matter how fine theories he is trying to push.

    Of course some of those "process" things can be valuable, and when a project meets a problem, they can use a solution. For some projects it even makes sense to talk of focus groups (KDE comes to mind), and regression testing is used in some (GnuGo).

    I think it is fine to make some of these techniques available to those who see the need of them. Good introduction material about such would be welcome. But do accept that most OS projects are better off without a pointy-haired boss and his bureaucracy.

    --

    In Murphy We Turst

    1. Re:In short: More bureaucracy by e8johan · · Score: 3, Interesting

      "most OS projects are better off without a pointy-haired boss and his bureaucracy"

      I'd say that most projects would benefit from a general plan stating which features that are wanted and for whom the project is intended. As soon as a project grows from 5-10 developers a more controlled development process will be needed if to avoid bloat and general confusion about what the project is supposed to do.

      One of the main problems when bringing GNU/Linux to the desktop is actually the huge number of options. If projects were better narrowed down, and more structured, most of these options could be hidden, or atleast bundled. Open source does need far better project management than is common today!

  8. Cathedral or bazaar ? by PinglePongle · · Score: 5, Insightful

    The fundamental question seems to be :
    Do processes make better software
    I've been involved with a lot of software projects (though never contributed much to Open Source...), and I have never seen a single project that was succesful because it followed a process. Nevertheless, whenever a project runs into trouble, the first call is usually for "more/better process !!". So let's look at this in more detail.

    Succesful projects seem to grow their own process. The process seems to be simple, and often appears to be way less than you would expect, and rely heavily on interpersonal communication rather than documents and frameworks. There's usual a small core of "gatekeepers" who set the technical and philosophical tone for the project. The Linux kernel is a good example.

    I am very worried about people using phrases like "mature process", "industry standard" etc. - in my experience, this often refers to the Rational Unified Process or the Software Engineering Institute's Capability Maturity Model. Both are laudable and when I go on holiday, I really want the airplane's control systems to be written using such processes. However, for many projects, the burden of bureaucracy is inappropriate (yes, I know you can tailor the RUP to suit your needs, but it contains over 140 different deliverables, none of which appears to be code). The training required to bring developers up to speed with these processes is significant, and usually expensive.

    Instead, I'd look at the Agile methodologies at Agile Alliance website. The "Crystal" methodologies are especially interesting because they encourage you to actively choose the processes your project needs based on a variety of parameters - size, risk etc.

    Having said that, I think a lot of the problems addressed are real - I think they get solved by people, not processes though.

    --
    It's all very well in practice, but it will never work in theory.
    1. Re:Cathedral or bazaar ? by PaddyM · · Score: 2, Interesting

      Are you sure people followed or understood the process? Right now I'm involved with a project where we aren't following the process because we don't understand the process and things are being unsuccessful.

      And what about Extreme Programming? I don't know too much about it, but I hear it's starting to gain popularity.

      Although a friend of mine suggests that the reason process doesn't work is because in the end, you have to meld the software with the hardware. Usually since your processes don't address the quirks of hardware, you end up having to rewrite a lot of code to get it to work.

    2. Re:Cathedral or bazaar ? by arb · · Score: 2

      I have never seen a single project that was succesful because it followed a process.

      Succesful projects seem to grow their own process.

      It is true that porojects are not successful because they followed a process, but successful projects are generally ones that have followed a process. A good process which is followed by the entire team certainly helps. Projects can fail for a variety of reasons, but most of the failed projects I have seen have either not had any processes at all or the processes have not been followed by everyone in the team.

      Processes do no have to be heavy-weight affairs like the complete RUP or CMM, but there should be something in place. Lightweight methodologies and processes are perfectly suitable for a large number of projects.

      The biggest problem I have found has been getting the project team to follow the process that has been chosen. Developers generally don't like documentation, yet documentation is crucial for projects of any reasonable size. Specifications, design documentation, interfaces, data models, comments in code - these are the things that I had the most trouble getting developers to write, yet when the developers were working on someone else's code they screamed if any of these things were missing.

      Having some simple rules about code formatting and keeping documentation up to date (no documentation at all is better than documentation that does not match the finished code!) and rules governing who checks code in/out helps move the project along and keeps everything on track.

      Having said that, I think a lot of the problems addressed are real - I think they get solved by people, not processes though.

      Yet processes can help the people solve the problems! Succesful projects seem to grow their own process: usually in response to problems casued by a lack of process (or faulty process) initially.

  9. Re:Code auditing system - false sense of security by rlowe69 · · Score: 3, Interesting

    I believe the saying goes "with enough eyes, all bugs become shallow", not "with an arbitrary number of eyes ..."

    If an auditing process like this is used, people might take a function for granted as "working" just because it's been checked by three different people, two of which are "experts". Even experts make mistakes.

    A far more reliable solution is to have unit tests (like with JUnit or xUnit). An expert at writing good unit tests is far more useful to a team than someone that just scans code.

    The unit tests also become important regression tests, so bugs introduced indirectly are found immediately. For more info, googlize yourself on "test driven design".

    --
    ----- rL
  10. Management systems by oliverthered · · Score: 2

    One this that appears to be missing from the other posts is management systems,
    OSS can potentially attact a huge number of devlopers, most of which can only spend a few hours a week on OSS, this is amanagement nightmare.

    I'd like to tie up all the code/bugs/designdocs/developers into a nice heiricical linked structure kept in a configuration management system. That way I can look through the open bugs
    find out what modules it's thought to relate to
    find out who's responsible for the various parts and look an creating a patch.

    --
    thank God the internet isn't a human right.
  11. Re:Code auditing system - false sense of security by Twylite · · Score: 2

    I'm going to be a slight devil's advocate here, because I believe strongly in unit testing, but there is a significant amount of academic literature which demonstrates the falacies inherent in using tests to catch bugs.

    Incidently, test driven design is concerned with demonstrating that the software can function as specified. It is not concerned with - and bad at picking up - software that performs those functions with side effects, or contains code which can be exploited in a security-sensitive context.

    The simplest "proof" of the problem with testing is to consider a function with four arguments; let's say this is C, and two arguments are int while the others are char*. To rigerously exercise a single argument of this function, you need five to seven distinct tests: obviously good value, obviously bad value, inner- and outer-values for boundary conditions (may only apply to the int), and NULL. Unfortunately a black box function may have strange interactions between parameters which testing each individually cannot expose; a proper test set to ensure the function behaves correctly in all circumstances will require approximately 6 * 6 * 5 * 7 = 756 tests, being the permutation of all single-argument test cases.

    No, I'm afraid this is not a suitable answer. Unit tests are best used for two purposes: testing that a function produces the correct and expected effect when used correctly; and testing that a function does not produce a bug that has already been discovered (i.e. regression testing).

    For everything else, there's Mast^H^H^H^Hcode inspections. A code inspection (audit) will detect problems in the handling of parameters far more efficiently than building hundreds of tests. What is more, it will (when performed by an experienced developer) expose problems that tests cannot: tests are particularly bad at showing up race conditions, buffer overflows and other security risks.

    --
    i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net