Code: Select all
<content>
<package url="url://path/to/pack1/package.xml" />
</content>
Code: Select all
<content>
<package url="url://path/to/pack1/package.xml" />
</content>
Most probably you're right.
I think it's good that author have only to change one thing. I would change a bit how <url> works. Will take an example with FreeCAD repo (even if it has no real sense).On that note, right now there's no support for specifying a specific git commit or tag, but as I was writing the Addon Manager code it seemed like that would be a useful thing. If the package.xml file lists a specific version, it seems to me in the abstract that should correspond not to the repo url as a whole, but to a specific commit in that repo/branch. But then to make a new release the author would have to modify two pieces of information, the version and the tag/commit hash. Any thoughts on adding an optional "tag" and/or "commit" attribute to the repo url attributes?
Code: Select all
<url type="repository" branch="master">https://github.com/FreeCAD/FreeCAD</url>
Code: Select all
<url type="repository">https://github.com/FreeCAD/FreeCAD/tree/master</url>
Code: Select all
<url type="repository">https://github.com/FreeCAD/FreeCAD/tree/releases/FreeCAD-0-19</url>
Code: Select all
<url type="repository">https://github.com/FreeCAD/FreeCAD/tree/4061c04</url>
Those Python dependencies are actually already specified in a separate file, so I wasn't going to duplicate that work here.
Hi @chennes,chennes wrote: ↑Thu Dec 09, 2021 3:43 am I've been giving some more thought to the use of "email" as a sole contact method for maintainers and authors: it seems to me that this is already dating the standard, and it's only just begun! What do you think about replacing it with a more generic "contact" attribute (or something like that)? That string will be allowed to be arbitrary by the standard, with the idea that it can evolve over time, allowing maximum flexibility, so you could have something like:
- contact="chennes@pioneerlibrarysystem.org"
- contact="+1-405-555-2600"
- contact="Twitter:@chennes"
- contact="https://github.com/chennes/FreeCAD-Packages/issues"
Code: Select all
<author>
<name> John Wayne </name>
<contact type="email"> john@gmail.com </contact>
<contact type="twitter"> @john </contact>
<contact type="github"> https://github.com/wayne/whatever/issues </contact>
</author>