quilt
Advanced tools
+4
-7
@@ -1,4 +0,4 @@ | ||
| Metadata-Version: 2.1 | ||
| Metadata-Version: 1.1 | ||
| Name: quilt | ||
| Version: 2.9.13 | ||
| Version: 2.9.14 | ||
| Summary: Quilt is a data package manager | ||
@@ -9,3 +9,4 @@ Home-page: https://github.com/quiltdata/quilt | ||
| License: LICENSE | ||
| Download-URL: https://github.com/quiltdata/quilt/releases/tag/2.9.13 | ||
| Download-URL: https://github.com/quiltdata/quilt/releases/tag/2.9.14 | ||
| Description-Content-Type: UNKNOWN | ||
| Description: | ||
@@ -29,5 +30,1 @@ ``quilt`` is a command-line utility that builds, pushes, and installs | ||
| Classifier: Programming Language :: Python :: 3.6 | ||
| Provides-Extra: img | ||
| Provides-Extra: torchvision | ||
| Provides-Extra: tests | ||
| Provides-Extra: pytorch |
@@ -1,4 +0,4 @@ | ||
| Metadata-Version: 2.1 | ||
| Metadata-Version: 1.1 | ||
| Name: quilt | ||
| Version: 2.9.13 | ||
| Version: 2.9.14 | ||
| Summary: Quilt is a data package manager | ||
@@ -9,3 +9,4 @@ Home-page: https://github.com/quiltdata/quilt | ||
| License: LICENSE | ||
| Download-URL: https://github.com/quiltdata/quilt/releases/tag/2.9.13 | ||
| Download-URL: https://github.com/quiltdata/quilt/releases/tag/2.9.14 | ||
| Description-Content-Type: UNKNOWN | ||
| Description: | ||
@@ -29,5 +30,1 @@ ``quilt`` is a command-line utility that builds, pushes, and installs | ||
| Classifier: Programming Language :: Python :: 3.6 | ||
| Provides-Extra: img | ||
| Provides-Extra: torchvision | ||
| Provides-Extra: tests | ||
| Provides-Extra: pytorch |
@@ -181,2 +181,3 @@ """ | ||
| [0, 'push', '--reupload'], | ||
| [0, 'push', '-x'], | ||
| [0, 'push', 0], | ||
@@ -699,2 +700,3 @@ [0, 'rm'], | ||
| 'is_team': False, | ||
| 'hash' : None, | ||
| } | ||
@@ -712,2 +714,3 @@ | ||
| 'is_team': False, | ||
| 'hash' : None, | ||
| } | ||
@@ -724,2 +727,3 @@ | ||
| 'is_team': True, | ||
| 'hash' : None, | ||
| } | ||
@@ -726,0 +730,0 @@ |
@@ -46,3 +46,3 @@ """ | ||
| # We will push the package twice, so we're mocking all responses twice. | ||
| # We will push the package 3 times, so we're mocking all responses 3 times. | ||
@@ -56,4 +56,5 @@ for blob_hash in all_hashes: | ||
| # Second time, s3 HEAD succeeds, and we're not expecting a PUT. | ||
| # Second and third times, s3 HEAD succeeds, and we're not expecting a PUT. | ||
| self.requests_mock.add(responses.HEAD, urls['head']) | ||
| self.requests_mock.add(responses.HEAD, urls['head']) | ||
@@ -66,2 +67,5 @@ self._mock_put_package('foo/bar', pkg_hash, contents, upload_urls) | ||
| self._mock_put_package('foo/bar', pkg_hash, contents, upload_urls) | ||
| self._mock_put_tag('foo/bar', 'latest') | ||
| # Push a new package. | ||
@@ -73,2 +77,5 @@ command.push('foo/bar') | ||
| # Push the package by its hash | ||
| command.push('foo/bar', hash=pkg_hash) | ||
| def test_push_subpackage(self): | ||
@@ -75,0 +82,0 @@ mydir = os.path.dirname(__file__) |
@@ -651,3 +651,3 @@ # -*- coding: utf-8 -*- | ||
| def push(package, is_public=False, is_team=False, reupload=False): | ||
| def push(package, is_public=False, is_team=False, reupload=False, hash=None): | ||
| """ | ||
@@ -660,3 +660,3 @@ Push a Quilt data package to the server | ||
| store, pkgroot = PackageStore.find_package(team, owner, pkg) | ||
| store, pkgroot = PackageStore.find_package(team, owner, pkg, pkghash=hash) | ||
| if pkgroot is None: | ||
@@ -666,2 +666,4 @@ raise CommandException("Package {package} not found.".format(package=package)) | ||
| pkghash = hash_contents(pkgroot) | ||
| if hash is not None: | ||
| assert pkghash == hash | ||
| contents = pkgroot | ||
@@ -668,0 +670,0 @@ |
@@ -221,2 +221,3 @@ """ | ||
| help="Re-upload all fragments, even if fragment is already in registry") | ||
| push_p.add_argument("-x", "--hash", help="Package hash", type=str) | ||
| push_p.set_defaults(func=command.push) | ||
@@ -223,0 +224,0 @@ |
+2
-2
@@ -19,3 +19,3 @@ from setuptools import setup, find_packages | ||
| name="quilt", | ||
| version="2.9.13", | ||
| version="2.9.14", | ||
| packages=find_packages(), | ||
@@ -37,3 +37,3 @@ description='Quilt is a data package manager', | ||
| url='https://github.com/quiltdata/quilt', | ||
| download_url='https://github.com/quiltdata/quilt/releases/tag/2.9.13', | ||
| download_url='https://github.com/quiltdata/quilt/releases/tag/2.9.14', | ||
| keywords='quilt quiltdata shareable data dataframe package platform pandas', | ||
@@ -40,0 +40,0 @@ install_requires=[ |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
395406
0.11%8644
0.14%