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

create and transmute do not expose the same CLI args #183

Closed
2 tasks done
wolfv opened this issue Dec 20, 2022 · 2 comments
Closed
2 tasks done

create and transmute do not expose the same CLI args #183

wolfv opened this issue Dec 20, 2022 · 2 comments
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::bug describes erroneous operation, use severity::* to classify the type

Comments

@wolfv
Copy link

wolfv commented Dec 20, 2022

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

Even though they do very similar things, transmute has more options than create:

(base) ➜  conda-package-handling git:(main) ✗ cph transmute --help
usage: cph transmute [-h] [--out-folder OUT_FOLDER] [--force] [--processes PROCESSES] [--zstd-compression-level {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}]
                     [--zstd-compression-threads ZSTD_COMPRESSION_THREADS]
                     in_file out_ext

positional arguments:
  in_file               existing file to convert from. Glob patterns accepted.
  out_ext               extension of file to convert to. Examples: .tar.bz2, .conda

options:
  -h, --help            show this help message and exit
  --out-folder OUT_FOLDER
                        Folder to dump final archive to
  --force               Force overwrite existing package
  --processes PROCESSES
                        Max number of processes to use. If not set, defaults to 1.
  --zstd-compression-level {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
                        When building v2 packages, set the compression level used by conda-package-handling. Defaults to 19.
  --zstd-compression-threads ZSTD_COMPRESSION_THREADS
                        When building v2 packages, set the compression threads used by conda-package-handling. Defaults to 1. -1=automatic.
(base) ➜  conda-package-handling git:(main) ✗ cph create --help
usage: cph create [-h] [--file-list FILE_LIST] [--out-folder OUT_FOLDER] prefix out_fn

positional arguments:
  prefix                folder of files to bundle. Not strictly required to have conda package metadata, but if conda package metadata isn't present, you'll see a warning and your file will not work as
                        a conda package
  out_fn                Filename of archive to be created. Extension determines package type.

options:
  -h, --help            show this help message and exit
  --file-list FILE_LIST
                        Path to file containing one relative path per line that should be included in the archive. If not provided, lists all files in the prefix.
  --out-folder OUT_FOLDER
                        Folder to dump final archive to
(base) ➜  conda-package-handling git:(main) ✗
@wolfv wolfv added the type::bug describes erroneous operation, use severity::* to classify the type label Dec 20, 2022
Copy link

github-actions bot commented Jan 6, 2024

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Jan 6, 2024
@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Feb 5, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2024
@github-project-automation github-project-automation bot moved this to 🏁 Done in 🧭 Planning Feb 5, 2024
@scw
Copy link

scw commented Feb 15, 2024

This issue still reproduces.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 27, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::bug describes erroneous operation, use severity::* to classify the type
Projects
Archived in project
Development

No branches or pull requests

2 participants