[Bug 706562] New: DOAP name property should not be used for repository name



https://bugzilla.gnome.org/show_bug.cgi?id=706562
  sysadmin | Git | unspecified

           Summary: DOAP name property should not be used for repository
                    name
    Classification: Infrastructure
           Product: sysadmin
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Git
        AssignedTo: sysadmin-maint gnome bugs
        ReportedBy: amigadave amigadave com
         QAContact: sysadmin-maint gnome bugs
     GNOME version: ---


Created an attachment (id=252708)
 View: https://bugzilla.gnome.org/attachment.cgi?id=252708
 Review: https://bugzilla.gnome.org/review?bug=706562&attachment=252708

only use the name property as a description fallback

The DOAP name property is the name of the project:

https://github.com/edumbill/doap/blob/master/schema/doap.rdf

The github mirror script uses the name property as the repository name, which
causes problems when the name property does not match the repository name
(which is perfectly legitimate). This can be avoided by using the repository
property in the DOAP file:

<repository>
  <GitRepository>
    <location rdf:resource="git://git.gnome.org/cheese" />
    <browse rdf:resource="https://git.gnome.org/browse/cheese/"; />
  </GitRepository>
</repository>

or by using the (already known) repository name directly in the mirror script.
Attached is a patch which uses the repository name that is already known, and
only uses the name property as a fallback for the github repository
description. I have not tested the patch, and I do not known Python well, so
please let me know if any changes are needed.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact of the bug.
You are watching the assignee of the bug.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]