fresh-continent-76371
10/17/2023, 12:18 PM- 'pants package --changed-since=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME} --changed-dependents=transitive ::'
It errors with
Exception message: You used `--changed-since` at the same time as using glob arguments. You can only use `--changed-since` or use normal arguments.
NoneType: None
Context - I found this at the following reddit thread.
https://www.reddit.com/r/Python/comments/153oomg/monorepo_microservices_dependency_managment_build/
The user frisouille
does not state what Pants version they are using.
(the version is 2.16.0rc3 - I will update to 2.17 tomorrow.
Related Question(s)
• what is the best command to run, to have pants tell me what packages are "package-able".
◦ Is there a smaller command than, pants --filter-target-type=archive,docker_image,pex_binary,python_distribution list ::
gorgeous-winter-99296
10/17/2023, 12:23 PMpackage
only acts on things it can act on. E.g., if you do pants package ::
it'll ignore everything that can't be packaged. When you using a filter such as --changed-since
, you can simply drop the ::
since --changed-since
will give you all targets in the provided time-range.fresh-continent-76371
10/17/2023, 12:26 PMException message: You used `--changed-since` at the same time as using glob arguments. You can only use `--changed-since` or use normal arguments.
what are "normal arguments" 😄gorgeous-winter-99296
10/17/2023, 12:27 PMbitter-ability-32190
10/17/2023, 2:01 PMcurved-television-6568
10/17/2023, 2:29 PMhappy-kitchen-89482
10/17/2023, 2:54 PM