Differential D4645 Diff 16591 swh/deposit/tests/data/atom/entry-data-with-both-create-origin-and-add-to-origin.xml
Changeset View
Changeset View
Standalone View
Standalone View
swh/deposit/tests/data/atom/entry-data-with-both-create-origin-and-add-to-origin.xml
- This file was moved from swh/deposit/tests/data/atom/entry-data-with-origin.xml.
<?xml version="1.0"?> | <?xml version="1.0"?> | ||||
<entry xmlns="http://www.w3.org/2005/Atom" | <entry xmlns="http://www.w3.org/2005/Atom" | ||||
xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0" | xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0" | ||||
xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"> | xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"> | ||||
<title>Awesome Compiler</title> | <title>Awesome Compiler</title> | ||||
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> | <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> | ||||
<author>dudess</author> | <author>dudess</author> | ||||
<swh:deposit> | <swh:deposit> | ||||
<swh:reference> | <swh:create_origin> | ||||
<swh:origin url="{url}" /> | <swh:origin url="http://example.org/~user/id" /> | ||||
ardumont: I'm a bit surprised here, do we rename from swh:reference to swh:add_to_origin?
that file with… | |||||
Done Inline ActionsI blame Phabricator. I copied the file, not move it. See https://forge.softwareheritage.org/D4645#116053 vlorentz: I blame Phabricator. I copied the file, not move it. See https://forge.softwareheritage. | |||||
Not Done Inline Actionswow, yeah, that's confusing. Thanks for lifting the doubt, i did not think of checking the diff stats. (And also, I asked because i thought i missed something earlier...) ok then. ardumont: wow, yeah, that's confusing.
Thanks for lifting the doubt, i did not think of checking the… | |||||
Done Inline Actionsit confused me as well, as I forgot about that change. vlorentz: it confused me as well, as I forgot about that change. | |||||
</swh:reference> | </swh:create_origin> | ||||
<swh:add_to_origin> | |||||
<swh:origin url="http://example.org/~user/id" /> | |||||
</swh:add_to_origin> | |||||
</swh:deposit> | </swh:deposit> | ||||
</entry> | </entry> |
I'm a bit surprised here, do we rename from swh:reference to swh:add_to_origin?
that file with swh:reference is used for the metadata only deposit...