From c0ddfc7bf9d9b19a547d891cc4cded4a9f3a81f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B3pez=20Barr=C3=B3n?= Date: Sat, 2 Nov 2019 13:21:48 +1100 Subject: [PATCH 1/6] removed __init__ for implicit grill namespace package --- grill/__init__.py | 1 - 1 file changed, 1 deletion(-) delete mode 100644 grill/__init__.py diff --git a/grill/__init__.py b/grill/__init__.py deleted file mode 100644 index de40ea7..0000000 --- a/grill/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__) From 8412d3ec6fa10854a847f23d10557a376e282594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B3pez=20Barr=C3=B3n?= Date: Sat, 2 Nov 2019 13:22:03 +1100 Subject: [PATCH 2/6] added autosection from sphinx --- docs/source/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 5599d3e..53ae8cd 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -46,6 +46,7 @@ # 'sphinx.ext.githubpages', 'sphinx.ext.graphviz', 'sphinx.ext.inheritance_diagram', + 'sphinx.ext.autosectionlabel', 'sphinx_autodoc_typehints'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] From 82a4e83df869d15ccbc4b93547c537acffbceacf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B3pez=20Barr=C3=B3n?= Date: Sat, 2 Nov 2019 13:22:12 +1100 Subject: [PATCH 3/6] overview doc updates --- docs/source/Overview.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/source/Overview.rst b/docs/source/Overview.rst index f3cf6e7..c294976 100644 --- a/docs/source/Overview.rst +++ b/docs/source/Overview.rst @@ -4,3 +4,17 @@ Overview .. topic:: Grill Names This package offers Name objects for digital content creation. + +---- + +Digital content encoded in machine-readable formats can be created, viewed and distributed on digital electronics devices without caring how the data is named. + +However, for a creative project with the following stages: + +``Idea >> Encode >> Distribution`` + +Going through each stage requires human input, and for that, ease of data tracking and discoverability is a requirement. + +Every contribution to the creative project should be uniquely identified. This is done via the :ref:`CGAsset` name in ``the grill``. + +Contributions are reworked and iterated over, versions of said contributions should therefore be a first class citizen. This is solved at the filesystem level via the :ref:`CGAssetFile` name. From d617c9c90fbee36f1d7afa4ae5bb7c8093b18164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B3pez=20Barr=C3=B3n?= Date: Sat, 2 Nov 2019 13:35:47 +1100 Subject: [PATCH 4/6] missing typehint --- grill/names/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grill/names/__init__.py b/grill/names/__init__.py index 4edb7e2..bd393b5 100644 --- a/grill/names/__init__.py +++ b/grill/names/__init__.py @@ -195,7 +195,7 @@ def _defaults(self): result.update(version=1, suffix='ext') return result - def get_path_pattern_list(self): + def get_path_pattern_list(self) -> typing.List[str]: pattern = super().get_pattern_list() pattern.append('version') return pattern From 472df4b7b11ea81efec40fde24ea7e5c0e8cc387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B3pez=20Barr=C3=B3n?= Date: Sat, 2 Nov 2019 13:41:32 +1100 Subject: [PATCH 5/6] moved tests to top dir --- grill/tokens/ids/tests/__init__.py | 0 {grill/names/tests => tests}/__init__.py | 0 grill/names/tests/test.py => tests/test_names.py | 0 grill/tokens/ids/tests/tests.py => tests/test_tokens.py | 0 4 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 grill/tokens/ids/tests/__init__.py rename {grill/names/tests => tests}/__init__.py (100%) rename grill/names/tests/test.py => tests/test_names.py (100%) rename grill/tokens/ids/tests/tests.py => tests/test_tokens.py (100%) diff --git a/grill/tokens/ids/tests/__init__.py b/grill/tokens/ids/tests/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/grill/names/tests/__init__.py b/tests/__init__.py similarity index 100% rename from grill/names/tests/__init__.py rename to tests/__init__.py diff --git a/grill/names/tests/test.py b/tests/test_names.py similarity index 100% rename from grill/names/tests/test.py rename to tests/test_names.py diff --git a/grill/tokens/ids/tests/tests.py b/tests/test_tokens.py similarity index 100% rename from grill/tokens/ids/tests/tests.py rename to tests/test_tokens.py From c58f9390ea1663936e2e35ea5173e0c55ccfe111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B3pez=20Barr=C3=B3n?= Date: Sat, 2 Nov 2019 13:46:42 +1100 Subject: [PATCH 6/6] update version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e86d427..ac73b7d 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from setuptools import setup, find_namespace_packages -_VERSION = '1.5.1' +_VERSION = '1.5.2' setup( name='grill-names', version=_VERSION,