Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#464 Add a package name directive

5.0.0
accepted
Rick McGuire
doc
5
2014-10-04
2012-06-22
Anonymous
No

Package names on ::requires identifies packages by file name, but it would be handy if a given package file could self-identify with an internally selected name. This internal name should then be exposed so that it can be used to qualify things like class names to avoid name conflict issues.

One question that needs deciding is how to handle package name conflicts. These could just be ignored, but I think it might be good to flag the conflict as an error if a program requires multiple packages that use the same name. I'm not in favor of making this a global error.

Discussion

  • Rick McGuire
    Rick McGuire
    2012-06-22

    Didn't realize I was not logged in when I created this. I was the submitter here.

     
  • Rick McGuire
    Rick McGuire
    2014-06-29

    • status: open --> accepted
    • assigned_to: Rick McGuire
    • Pending work items: --> code+doc+test
     
  • Rick McGuire
    Rick McGuire
    2014-10-03

    Implemented by allowing the program that requires a package to assign a namespace name to the package.

     


Anonymous


Cancel   Add attachments