#37125: Livecheck for master_sites of "gnome:" format is incomplete -----------------------------+-------------------------------- Reporter: rmstonecipher@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -----------------------------+-------------------------------- Gnome's hosted projects tend to have the following directory tree and distname for releases: {{{ gnome:sources/${name}/${branch}/${name}-${version}.${extension} }}} Odd-numbered branches are used for unstable versions, while even-numbered branches are used for stable/release versions.[[br]] The above-described organizational structure and odd/even versioning complicates a livecheck operation:[[br]] 1. A two-step evaluation is necessary, first checking the project's directory to see if a new branch is available, then checking in the branch directory to see if a new version is available. 2. Using vercomp alone may determine that an odd-numbered branch has the highest available version, potentially influencing a MacPorts developer to upgrade to an unstable version. I would propose the following procedures for the default livecheck for ports with master_sites of the "gnome:" format: * Parse gnome:sources/${name} for a list of numbered branch directories and identify the highest even-numbered branch ${foo} and the highest odd- numbered branch ${bar} i. Run livecheck in gnome:sources/${name}/${foo} to identify the current release version ii. Run livecheck again in gnome:sources/${name}/${bar} to identify the current unstable version, noting in the output that this may be an unstable/bleeding-edge version Dave - would this be something you would take interest in improving, or is it more of a portmgr kind of change? -- Ticket URL: <https://trac.macports.org/ticket/37125> MacPorts <http://www.macports.org/> Ports system for Mac OS