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

  sysadmin | Git | unspecified

           Summary: DOAP name property should not be used for repository
    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:


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:

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

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]