Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • anlambert/swh-model
  • lunar/swh-model
  • franckbret/swh-model
  • douardda/swh-model
  • olasd/swh-model
  • swh/devel/swh-model
  • Alphare/swh-model
  • samplet/swh-model
  • marmoute/swh-model
  • rboyer/swh-model
10 results
Show changes
Commits on Source (83)
Metadata-Version: 2.1
Name: swh.model
Version: 0.0.28
Summary: Software Heritage data model
Home-page: https://forge.softwareheritage.org/diffusion/DMOD/
Author: Software Heritage developers
Author-email: swh-devel@inria.fr
License: UNKNOWN
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
Project-URL: Funding, https://www.softwareheritage.org/donate
Project-URL: Source, https://forge.softwareheritage.org/source/swh-model
Description: swh-model
=========
Implementation of the Data model of the Software Heritage project, used to
archive source code artifacts.
This module defines the notion of Persistent Identifier (PID) and provides
tools to compute them:
```sh
$ swh-identify fork.c kmod.c sched/deadline.c
swh:1:cnt:2e391c754ae730bd2d8520c2ab497c403220c6e3 fork.c
swh:1:cnt:0277d1216f80ae1adeed84a686ed34c9b2931fc2 kmod.c
swh:1:cnt:57b939c81bce5d06fa587df8915f05affbe22b82 sched/deadline.c
$ swh-identify --no-filename /usr/src/linux/kernel/
swh:1:dir:f9f858a48d663b3809c9e2f336412717496202ab
```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Description-Content-Type: text/markdown
Provides-Extra: testing
swh-model (0.0.1-1) unstable; urgency=low
swh-model (0.0.27-1~swh1) unstable-swh; urgency=medium
* Create swh-model package
* v0.0.27
* Refactor: Add MultiHash class to improve hash computations
* swh.model.hashutil: Improve and clarify docstrings
* swh.model.hashutil: Mark hash_* function as deprecated
-- Nicolas Dandrimont <olasd@debian.org> Mon, 07 Dec 2015 15:41:28 +0100
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Mon, 17 Sep 2018 12:07:59 +0200
swh-model (0.0.26-1~swh1) unstable-swh; urgency=medium
* v0.0.26
* swh.model.identifiers: Open metadata in persistent_identifier method
* refactor CLI tests to avoid duplicate assertion pairs
* swh-identify: follow symlinks for CLI arguments (by default)
* cli.py: prefer os.fsdecode() over manual fiddling with
locale.getpref...
* swh-identify: add support for passing multiple CLI arguments
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Mon, 23 Jul 2018 14:29:54 +0200
swh-model (0.0.25-1~swh1) unstable-swh; urgency=medium
* version 0.0.25
-- Antoine Lambert <antoine.lambert@inria.fr> Fri, 29 Jun 2018 11:49:25 +0200
swh-model (0.0.24-1~swh1) unstable-swh; urgency=medium
* v0.0.24
* swh.model.cli: Catch specific exception during identifiers check
* identifiers: Validate input
* identifiers: Raise when error during parsing persistent identifiers
* Update blake2 support to be less Debian-specific
* add swh-identify CLI tool to compute persistent identifiers
* docs: Update high-level documentation (Merkle DAG description,
* contextual information for persistent IDs, etc...)
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Fri, 22 Jun 2018 15:38:32 +0200
swh-model (0.0.23-1~swh1) unstable-swh; urgency=medium
* version 0.0.23
-- Antoine Lambert <antoine.lambert@inria.fr> Tue, 29 May 2018 14:08:45 +0200
swh-model (0.0.22-1~swh1) unstable-swh; urgency=medium
* version 0.0.22
-- Antoine Pietri <antoine.pietri1@gmail.com> Tue, 30 Jan 2018 18:22:42 +0100
swh-model (0.0.21-1~swh1) unstable-swh; urgency=medium
* v0.0.21
* swh.model.identifiers: Add persistent identifier function
* docs: document the naming scheme for persistent identifiers
* bin/swh-hash-file: new binary to compute SWH-style content
identifiers
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Wed, 17 Jan 2018 11:06:33 +0100
swh-model (0.0.20-1~swh1) unstable-swh; urgency=medium
* v0.0.20
* swh.model.hashutil.hash_data: Optionally integrate length in result
* hashutil: add `snapshot` object type for git hashes
* docs: add absolute anchor to documentation index
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Wed, 20 Dec 2017 10:47:10 +0100
swh-model (0.0.19-1~swh1) unstable-swh; urgency=medium
* Release swh.model version 0.0.19
* Update packaging runes
-- Nicolas Dandrimont <nicolas@dandrimont.eu> Thu, 12 Oct 2017 18:07:59 +0200
swh-model (0.0.18-1~swh1) unstable-swh; urgency=medium
* Release swh.model v0.0.18
* Replace swh.model.git with swh.model.from_disk (T709).
* Clean up documentation
-- Nicolas Dandrimont <nicolas@dandrimont.eu> Thu, 05 Oct 2017 20:48:29 +0200
swh-model (0.0.17-1~swh1) unstable-swh; urgency=medium
* Release swh.model v0.0.17
* Clean up pyblake2 requirement for Python 3.5+
-- Nicolas Dandrimont <nicolas@dandrimont.eu> Mon, 26 Jun 2017 14:41:49 +0200
swh-model (0.0.16-1~swh1) unstable-swh; urgency=medium
* Release swh.model v0.0.16
* Make sure we generate proper permissions in directories
-- Nicolas Dandrimont <nicolas@dandrimont.eu> Fri, 07 Apr 2017 14:32:34 +0200
swh-model (0.0.15-1~swh1) unstable-swh; urgency=medium
* v0.0.15
* Add possibility to compute new blake2 hashes
* Add blake2s256 hash as default new hash computation algorithm
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Fri, 24 Mar 2017 16:32:35 +0100
swh-model (0.0.14-1~swh1) unstable-swh; urgency=medium
* v0.0.14
* Migrate functions from swh.core.hashutil to swh.model.hashutil
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Wed, 15 Mar 2017 16:00:56 +0100
swh-model (0.0.13-1~swh1) unstable-swh; urgency=medium
* Release swh.model v0.0.13
* Timestamps are now fully integer values
-- Nicolas Dandrimont <nicolas@dandrimont.eu> Tue, 14 Feb 2017 19:32:24 +0100
swh-model (0.0.12-1~swh1) unstable-swh; urgency=medium
* Release swh.model v0.0.12
* Add more tests to git tree hash computations
-- Nicolas Dandrimont <nicolas@dandrimont.eu> Tue, 14 Jun 2016 17:08:20 +0200
swh-model (0.0.11-1~swh1) unstable-swh; urgency=medium
* v0.0.11
* Open git.children_hashes api
* Rename git.walk_and_compute_sha1_from_directory_2 to
git.compute_hashes_from_directory
* Remove dead code
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Sat, 11 Jun 2016 02:23:19 +0200
swh-model (0.0.10-1~swh1) unstable-swh; urgency=medium
* v0.0.10
* Add objects_per_type api
* Open a new walk_and_compute_sha1_from_directory_2 api
* Improve internal api regarding directory and tree hash computations
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Wed, 08 Jun 2016 15:54:59 +0200
swh-model (0.0.9-1~swh1) unstable-swh; urgency=medium
* v0.0.9
* Add coverage on edge case
* Optimize git hash walk
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Thu, 26 May 2016 12:56:17 +0200
swh-model (0.0.8-1~swh1) unstable-swh; urgency=medium
* v0.0.8
* Add coverage on edge case
* Optimize git hash walk
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Thu, 26 May 2016 12:33:59 +0200
swh-model (0.0.7-1~swh1) unstable-swh; urgency=medium
* v0.0.7
* Improve corner case policy about walking and computing hash tree (+
update)
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Wed, 25 May 2016 23:47:19 +0200
swh-model (0.0.6-1~swh1) unstable-swh; urgency=medium
* v0.0.6
* Improve corner case on git hash memory update function
* debian packaging: Ignore fs tests for packaging
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Tue, 24 May 2016 17:01:06 +0200
swh-model (0.0.5-1~swh1) unstable-swh; urgency=medium
* v0.0.5
* Add update git hash computation from existing data
* Add revision identifier data for hash identifier computation (extra-
headers)
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Fri, 15 Apr 2016 12:51:21 +0200
swh-model (0.0.4-1~swh1) unstable-swh; urgency=medium
* v0.0.4
* Migrate swh.loader.dir.git module to swh.model.git
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Mon, 21 Mar 2016 15:20:28 +0100
swh-model (0.0.3-1~swh1) unstable-swh; urgency=medium
* v0.0.3
* Release name is now in bytes
-- Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com> Wed, 27 Jan 2016 15:50:08 +0100
swh-model (0.0.2-1~swh1) unstable-swh; urgency=medium
* Prepare release of v0.0.2
* Import the rest of swh.core.hashutil
-- Nicolas Dandrimont <nicolas@dandrimont.eu> Wed, 16 Dec 2015 18:30:12 +0100
swh-model (0.0.1-1~swh1) unstable-swh; urgency=medium
* Initial release
* Prepare swh.model release v0.0.1
-- Nicolas Dandrimont <nicolas@dandrimont.eu> Mon, 07 Dec 2015 18:26:58 +0100
[DEFAULT]
upstream-branch=debian/upstream
upstream-tag=debian/upstream/%(version)s
upstream-vcs-tag=v%(version)s
debian-branch=debian/unstable-swh
pristine-tar=True
[egg_info]
tag_build =
tag_date = 0
Metadata-Version: 2.1
Name: swh.model
Version: 0.0.28
Summary: Software Heritage data model
Home-page: https://forge.softwareheritage.org/diffusion/DMOD/
Author: Software Heritage developers
Author-email: swh-devel@inria.fr
License: UNKNOWN
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
Project-URL: Funding, https://www.softwareheritage.org/donate
Project-URL: Source, https://forge.softwareheritage.org/source/swh-model
Description: swh-model
=========
Implementation of the Data model of the Software Heritage project, used to
archive source code artifacts.
This module defines the notion of Persistent Identifier (PID) and provides
tools to compute them:
```sh
$ swh-identify fork.c kmod.c sched/deadline.c
swh:1:cnt:2e391c754ae730bd2d8520c2ab497c403220c6e3 fork.c
swh:1:cnt:0277d1216f80ae1adeed84a686ed34c9b2931fc2 kmod.c
swh:1:cnt:57b939c81bce5d06fa587df8915f05affbe22b82 sched/deadline.c
$ swh-identify --no-filename /usr/src/linux/kernel/
swh:1:dir:f9f858a48d663b3809c9e2f336412717496202ab
```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Description-Content-Type: text/markdown
Provides-Extra: testing
.gitignore
AUTHORS
LICENSE
MANIFEST.in
Makefile
Makefile.local
README.md
pytest.ini
requirements-swh.txt
requirements-test.txt
requirements.txt
setup.py
tox.ini
version.txt
bin/git-revhash
bin/swh-hashtree
bin/swh-revhash
debian/changelog
debian/compat
debian/control
debian/copyright
debian/rules
debian/source/format
docs/.gitignore
docs/Makefile
docs/Makefile.local
docs/conf.py
docs/data-model.rst
docs/index.rst
docs/persistent-identifiers.rst
docs/_static/.placeholder
docs/_templates/.placeholder
docs/images/.gitignore
docs/images/Makefile
docs/images/swh-merkle-dag.dia
swh/__init__.py
swh.model.egg-info/PKG-INFO
swh.model.egg-info/SOURCES.txt
swh.model.egg-info/dependency_links.txt
swh.model.egg-info/entry_points.txt
swh.model.egg-info/requires.txt
swh.model.egg-info/top_level.txt
swh/model/__init__.py
swh/model/cli.py
swh/model/exceptions.py
swh/model/from_disk.py
swh/model/hashutil.py
swh/model/identifiers.py
swh/model/merkle.py
swh/model/toposort.py
swh/model/validators.py
swh/model/fields/__init__.py
swh/model/fields/compound.py
swh/model/fields/hashes.py
swh/model/fields/simple.py
swh/model/tests/__init__.py
swh/model/tests/generate_testdata_from_disk.py
swh/model/tests/test_cli.py
swh/model/tests/test_from_disk.py
swh/model/tests/test_hashutil.py
swh/model/tests/test_identifiers.py
swh/model/tests/test_merkle.py
swh/model/tests/test_toposort.py
swh/model/tests/test_validators.py
swh/model/tests/data/dir-folders/sample-folder.tgz
swh/model/tests/fields/__init__.py
swh/model/tests/fields/test_compound.py
swh/model/tests/fields/test_hashes.py
swh/model/tests/fields/test_simple.py
\ No newline at end of file
[console_scripts]
swh-identify=swh.model.cli:identify
\ No newline at end of file
Click
vcversioner
[testing]
pytest
swh
v0.0.28-0-g4e6bce9
\ No newline at end of file