Slashdot Mirror


HP Launches FOSSology Open Source Tracking Tool

cpudney writes "An article in Computerworld UK reports on a new open source analysis initiative launched by Hewlett-Packard. The FOSSology Project's mission is to 'build a community to facilitate the study of Free and Open Source Software by providing free data analysis tools.' The first such tool reports how an open source project is licensed. Rather than simply collecting a project's advertised license, the tool analyzes all of the source code for a given project and reports all of the licenses being used, based on the license declarations and tell-tale phrases that identify software licensing. A video demonstrating the tool applied to abiword is available. The FOSSology source code is licensed under GPLv2."

62 comments

  1. grep? by Gothmolly · · Score: 0

    Nice to HP getting busy and all, but how is this any sort of breakthrough ?

    for file in `find -name *.c` ; do grep GPL $file ; done

    ??

    --
    I want to delete my account but Slashdot doesn't allow it.
    1. Re:grep? by gotzero · · Score: 1

      I think these companies are trying to do anything they can to not appear openly hostile to open source... Many have not been doing so well in that department. At least it is not a step in the wrong direction!

    2. Re:grep? by Anonymous Coward · · Score: 0

      If HP *REALLY* wanted to make a splash in the FOSS community,
      they'd make sure that their hardware, especially their laptops,
      could be used under Linux. My dv9000z kinda sorta works under
      openSUSE 10.2, but not under 10.3, and neither the camera nor
      the microphone work.

      Wouldn't it be loverly if they included a CD with the appropriate
      drivers on it?

    3. Re:grep? by richardablitt · · Score: 1

      At least their printers seem to be well supported under Linux (I've had no problems with them, anyway).

    4. Re:grep? by emilper · · Score: 1

      how about HP office scanners ?

  2. Video Summary: 2 files not compatible with GPL by benad · · Score: 5, Informative

    For those that don't want to load the video, there is two files in Abiword (hash.cpp and tword.cpp) that use the original BSD license (with the "obnoxious" advertising clause) and are incompatible with the project's GPLv2 license. Oops.

    1. Re:Video Summary: 2 files not compatible with GPL by rubycodez · · Score: 0

      no, BSD software can be relicensed under the more restrictive GPL, just not the other way around. By the way, I downloaded the source for Abiword-2.4.6.tar.gz and found the hash.cpp with the full license inside but no tword.cpp file

    2. Re:Video Summary: 2 files not compatible with GPL by tlhIngan · · Score: 4, Informative

      no, BSD software can be relicensed under the more restrictive GPL, just not the other way around. By the way, I downloaded the source for Abiword-2.4.6.tar.gz and found the hash.cpp with the full license inside but no tword.cpp file


      Actually, no. Prior to the modified-BSD license (which became the official BSD license), the original BSD license is incompatible with the GPL. This is because the original BSD license had an "advertising" clause that stated the software must say it includes portions copyright the Regents of California. That very clause makes it incompatible with the GPL (because the license makes additional terms in order to use the code - something the GPL prohibits).

      Even the FSF states that the original BSD license is incompatible with the GPL.

      Now, I believe in the late 90's, the BSD folks reorganized the license and eliminated that clause, thus making BSD compatible with the GPL. They made it retroactive, I believe, but you had better be careful with code with the original terms since BSD originated code is under the new license, but the old code from a different author (but same license) may not be using the modified/revised BSD terms.
    3. Re:Video Summary: 2 files not compatible with GPL by digitig · · Score: 1

      They made it retroactive, I believe, but you had better be careful with code with the original terms since BSD originated code is under the new license, but the old code from a different author (but same license) may not be using the modified/revised BSD terms. Which appears to be the case with at least one of the BSD licenses used in Abiword. It's not actually the old BSD license, it's the old BSD licence with the author's name replacing references to the Regents of California. So when they made the new BSD license retroactive, the code used by Abiword was unaffected because it wasn't the Regents' to change.
      --
      Quidnam Latine loqui modo coepi?
  3. Open Source competition to commercial products by mgkimsal2 · · Score: 4, Insightful

    While it doesn't seem fossology is addressing exactly the same problem space, I can see a project like this taking some marketshare away from commercial products like BlackDuck's protexIP and Palamida ipAmplifier. I work in a field where this would be a very useful tool, and have been wanting to build something like this ourselves and release as an open source project. The issue has always been determining a cost-effective way of keeping the indexes up to date. But rather than scanning code and looking for direct violations, this approach turns that on its head a bit and scans for licenses. This is more a forensic tool than something which can detect all types of violations - if I just took part of a GPL file and placed it in a BSD project (or my own project, for example), it doesn't seem fossology would be able to make that determination. At least, I didn't see that from the video I watched. In any event though, this is a welcome tool for people looking to quickly get a handle on what's in their code. Glad to see it out there.

    1. Re:Open Source competition to commercial products by GarbageCollection · · Score: 1

      I agree that this is a welcome tool. As companies continue to use increasing amounts of open source in their software, they need better ways of tracking it, to make sure that they comply with the licenses. This is particularly true for software companies, whether they are commercial or open source. I'm not sure that Fossology will take market share away from Black Duck or Palamida, however, since the functionality seems to be more limited. I'd be interested in hearing a review from someone who used the software.

    2. Re:Open Source competition to commercial products by mgkimsal2 · · Score: 1

      I'm planning on trying it out in the next week. Visit http://www.kimsal.com/ to read a review if/when I get to it.

      Also, I agree, it may not take market share away, at least for now, but if the underpinning is good, it may be a good base to build similar BD/P functionality on top of.

    3. Re:Open Source competition to commercial products by tlhIngan · · Score: 1

      While it doesn't seem fossology is addressing exactly the same problem space, I can see a project like this taking some marketshare away from commercial products like BlackDuck's protexIP and Palamida ipAmplifier.


      I remember a customer doing something with our code (commercial) - they scanned our submitted code against open-source code to check for violations (making sure we weren't checking in open-source code as proprietary).

      We didn't, but the output it got back was pretty enlightening. We still had to defend it, but the worst chunks ended up being "You're initializing a window class structure - since Microsoft's documentation says the structure is laied out that way, it makes sense people would initialize it that way" (just a bunch of generic initializations you'd find in any Windows book or online FAQ). Though, said project wasn't using libwine - I don't know what it used, just it ended up using a data structure practically identical to Win32. The other alleged violations were things like "i = 0" and more generic Win32-like code.
  4. FOSS that solves problems created by FOSS? by filbranden · · Score: 0, Flamebait

    When computers were invented, they were supposed to solve problems. Today, companies have huge IT departments just to solve computer problems that didn't existed before computers.

    When FOSS started, its purpose was to write software to solve problems. Today, we're seeing FOSS written to solve FOSS problems, like licensing issues.

    Doesn't it kind of defeat the point?

    1. Re:FOSS that solves problems created by FOSS? by iggymanz · · Score: 4, Insightful

      typewriters solved a problem too, and companies had typewriter repair departments. Parcel delivery companies solve problems and my company has a shipping and receiving department. gee, what's up what that?

      No point defeated, FOSS exists because of copyright law and software that helps ensure licensing is proper is a great way for the movement(s) to self-police.

  5. This has already been around for years by LS · · Score: 3, Informative

    A friend of mine in SF started a company a few years back called Palamida that provides a very similar service. I don't think their code is GPLed though.

    LS

    --
    There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
    1. Re:This has already been around for years by Anonymous Coward · · Score: 0

      I have a friend who started Black Duck Software (blackducksoftware.com). FOSSology is not the same thing as Palamida and Black Duck... they actually track the code that's copyrighted and tell you what the license was originally, not just tell you what license is stated in the file.

    2. Re:This has already been around for years by Anonymous Coward · · Score: 0

      In all fairness, Palamida is not the same thing as Black Duck.

  6. how... meta. by sootman · · Score: 4, Funny

    So, it's an open-source tool that evaluates how open-source open-source software is? Wow. If ever there was an app that demanded a recursive acronym, this is it. Any suggestions?

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    1. Re:how... meta. by dozer · · Score: 2, Funny

      yaossfsck?

    2. Re:how... meta. by Anonymous Coward · · Score: 0

      FOSSology is an Open Source Software Overviewing License(s) Obligating You :-P

      bah, it's the best I could do this late. (by obligating, i mean obligations you are to meet according to use of the code per license[s])

      captcha: orgasm, heh

    3. Re:how... meta. by Anonymous Coward · · Score: 2, Funny

      If they had just called it "FOSS" (which is taken, I know. Bear with me...) then it could be "FOSS is an Open Source Scanner"

      *shrug*

    4. Re:how... meta. by jd · · Score: 2, Funny
      • TOSTOSTOS: The Open Sourceness Testing Open Source Tool for Openable Source Tarballs
      • ROSCROSC: ROSCROSC Open Source Checker Recursively Open Source Checks
      • YIARAFARACOSL: YIARAFARACOSL Is A Recursive Acronym For A Recursive Application Checking Open Source Licenses

      P.S. SCO changed their copy. If the filename starts with linux-2.6, it prints "Owned By SCO" 250 times. I hear they plan to use their version when they appeal.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    5. Re:how... meta. by gr8scot · · Score: 1

      OSSOSS
      Open Source Software Openness Scanning Software

      --
      All 19 hijackers were known terrorists 09-10-2001. Lack of FBI intelligence does not justify warrantless wiretaps..
    6. Re:how... meta. by Urza9814 · · Score: 1

      There are still plenty of alternatives....the first letter could be anything:

      LOSS causes profit loss
      Toss that TOSS
      Doss with DOSS

    7. Re:how... meta. by LarsG · · Score: 1

      .  <- the concept of recursive acronyms

      O  <- you

      --
      If J.K.R wrote Windows: Puteulanus fenestra mortalis!
    8. Re:how... meta. by Urza9814 · · Score: 1

      Well, those sentences I listed weren't the actual acronyms, if that's what you're thinking...I was just giving examples of what you could say if you used them. The actual acronym would be (L/T/D)OSS is an Open Source Scanner. I shoulda been more clear on that.

  7. License bloat by iminplaya · · Score: 1

    Will this help reduce it? 13K sized programs with 50K licenses. Hey, a new game. Stenoproject. Find the hidden program inside the license. Kinda like Where's Waldo.

    --
    What?
  8. Why bother? by rorted · · Score: 1

    Off topic, but this is a pet hate of mine -- why bother sticking the logos of web standards on your page when it fails so thoroughly to comply to said standards?

    1. Re:Why bother? by alextmqazwsx · · Score: 1

      And one of mine, Inviting looking pages that are password protected. ("Demo - Try it!")

  9. Don't Let SCO see this. by WallyDrinkBeer · · Score: 5, Funny

    This could be a disaster.

    SCO will run Linux through this tool and find out all the stuff in their that has /* Copyright 1982 SCO */ in the headers.

    Arghh.

  10. As an HP employee... by Anonymous Coward · · Score: 1

    I like seeing the move to Open Source in quite a few projects, mostly Linux/HP-UX based. But if the internal company reorganization doesn't actually fix some problems, HP as a company is going under. (yes this is still fallout from the whole "who's leaking info to the press let's get their calling records" scandal) The only thing that is saving it from the ineptitude of the management is the talent of the onshore techs, otherwise it'd be dead already. The offshore "towers" are for the most part steaming towers of crap with constant turnover and a willingness to escalate a sneeze into a Sev-2 situation.

    Ranting anonymous for obvious reasons, but I'm sure there is quite a few HP'ers who could of written this. HP "invent" your way out of this one management, there is no silver bullet unless it's in your skull. ;)

    1. Re:As an HP employee... by Anonymous Coward · · Score: 0

      ballmer is that you?

    2. Re:As an HP employee... by ibsteve2u · · Score: 1

      I tend to agree with your perspective, which is why I'm leery of HP/Compaq doing anything in the open source world.

      After watching the destruction of DEC, I know they must still have a mass of those people who can take a good thing and destroy it.

      --
      Orwell: "In a Time of Universal Deceit, telling the Truth is a Revolutionary Act"
  11. What if there's no license lines? by Anonymous Coward · · Score: 0

    What about those like vtiger and other companies (or individuals) who leach off open source projects, just taking off the copyright lines? This program doesn't help in those cases. Basically a lot of overhead for little reassurance...

  12. Public Domain by Besna · · Score: 1

    If we need any sort of standard, it should be the simplest of all--public domain. Maybe an XML attribute or watermark. Certain dated materials can be automatically assigned as well.

  13. not if the advertisement clause is present by keeboo · · Score: 5, Informative

    Please feel free to learn more about this issue.

    1. Re:not if the advertisement clause is present by AuMatar · · Score: 2, Informative

      Outdated- the new version of the BSD license (new meaning about a decade old, if not more) has no advertising clause. Nobody uses the old style anymore, when people say BSD you can assume they mean no advertising clause. In which case, he's absolutely right.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    2. Re:not if the advertisement clause is present by Anonymous Coward · · Score: 1, Informative

      You are an idiot. The BSD license used on the small bits of code in abiword is the old "obnoxious" one. Read the fucking article, and the posts before you reply.

  14. GPLv2? by dacut · · Score: 2, Funny

    The FOSSology source code is licensed under GPLv2 Does it just say GPLv2 in their license file, or did they properly analyze the source to determine it was GPLv2?
  15. About that name... by Smallpond · · Score: 1

    Doesn't it seem like a bad idea for HP to be using a name that sounds like "fossile".

  16. rename it to Ono by Gary+W.+Longsine · · Score: 2, Funny

    In light of the BSD tidbit above, it could be renamed: OhNO! ... ONO's Not militantly Open enough! (where the "militantly" and "enough" are silent.)

    --
    If you mod me down, I shall become more powerful than you could possibly imagine.
  17. Ummmm.... by vlad_petric · · Score: 2, Funny

    SCO who?

    --

    The Raven

  18. Ohloh? by Ptur · · Score: 1

    Isn't this what http://www.ohloh.net/ does (and much more)?

    1. Re:Ohloh? by triso · · Score: 1

      Isn't this what http://www.ohloh.net/ does (and much more)? i don't think Ohloh knows what it wants to be.

    2. Re:Ohloh? by Anonymous Coward · · Score: 0

      Why do you say that?

  19. Implications? by SavvyPlayer · · Score: 1

    If an OSS developer releases a GPL v2 project that links to several libraries that use incompatible licenses, and possibly a proprietary one, does that affect in any way the developer's rights? Could the developer be held liable to correct every violation before being allowed to sue a 3rd party for infringement of his own terms? What if one of the holders of the copyrights of the linked libraries were to ignore the infringement of the developer in question and ignore the suit and any legal correspondence -- does that library developer relinquish their copyright to the public domain?

    If I wrote an algorithm one year, Linus were to include it in his kernel 6 months later without attribution or paying me the 1 Spanish doubloon I required in my license as it were, and I were to not sue him after some period of time, does Linus automatically get a license to use my algorithm? What about Linus's fellow Linux developers (thousands exist)? Can Linus transfer his immunity to my copyright to another entity? Do I no longer own this copyright at all -- has the license simply expired due to my lack of vigilance?