Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quilt3 push: --dir is a required argument #3756

Open
birnbera opened this issue Oct 4, 2023 · 0 comments
Open

quilt3 push: --dir is a required argument #3756

birnbera opened this issue Oct 4, 2023 · 0 comments

Comments

@birnbera
Copy link

birnbera commented Oct 4, 2023

I was hoping to use the Quilt CLI to move an unmaterialized package from my local registry to S3 and found that the push command couldn't do what I was asking:

$ quilt3 push --no-copy <name>
usage: quilt3 push --dir DIR [-h] [--registry REGISTRY] [--dest DEST] [--message MESSAGE] [--meta META] [--workflow WORKFLOW] [--force] [--dedupe] [--no-copy] name
quilt3 push: error: the following arguments are required: --dir

The usage string indicates that I need to supply a value for --dir, which doesn't really make sense for what I think the command is doing. I suppose it could optionally accept a directory to add to the package, but it seems unnecesary to require it. Also, I do have the default remote registry configured:

$ quilt3 push -h
usage: quilt3 push --dir DIR [-h] [--registry REGISTRY] [--dest DEST] [--message MESSAGE] [--meta META] [--workflow WORKFLOW] [--force] [--dedupe] [--no-copy] name

Pushes the new package to the remote registry

positional arguments:
  name                 Name of package, in the USER/PKG format

required arguments:
  --dir DIR            Directory to add to the new package

optional arguments:
  -h, --help           show this help message and exit
  --registry REGISTRY  Registry where to create the new package. Defaults to the default remote registry.
  --dest DEST          Where to copy the objects in the package
  --message MESSAGE    The commit message for the new package
  --meta META          Sets package-level metadata. Format: A json string with keys in double quotes '{"key": "value"}'
  --workflow WORKFLOW  Workflow ID or empty string to skip workflow validation. If not specified, the default workflow will be used.
  --force              Skip the parent top hash check and create a new revision even if your local state is behind the remote registry.
  --dedupe             Skip the push if the local package hash matches the remote hash.
  --no-copy            Do not copy data. Package manifest entries will reference the data at the original location.

FYI I'm using v5.3.1 of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant