If cpac can't bind an absolute path, now it will bind that path relative to the current working directory. For example, if a config wants to bind /logs:/logs but is not permitted to, cpac will bind ${PWD}/logs:/logs instead and print a warning like
Could not create /logs. Binding /logs to /path/to/current_directory/logs instead.
Re: #35
Removes the pre-selection of the default pipeline
Tests
Updates test suite
Adds Python 3.11
Updates expected outputs for 1.8.5
Replaces deprecated setup.cfg with pyproject.toml
Replaces deprecated pkg_resources with importlib.metadata
Checklist
[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the main branch of the repository.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added tests for the changes I made (if applicable).
[x] I updated the changelog.
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.
Developer Certificate of Origin
Developer Certificate of Origin
```
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
```
Coverage: 62.365% (-2.05%) from 64.415% when pulling 53a4af4b14b6b2eb1686d6ae392bdf2017478257 on cpac_resources into 895bad33d4b82165c408babf14f845d6048ddf3c on develop.
Fixes
Fixes #21 by @keithcdodd Fixes #35 by @neurosurd
Description
Re: #21
If
cpac
can't bind an absolute path, now it will bind that path relative to the current working directory. For example, if a config wants to bind/logs:/logs
but is not permitted to,cpac
will bind${PWD}/logs:/logs
instead and print a warning likeRe: #35
Removes the pre-selection of the default pipeline
Tests
setup.cfg
withpyproject.toml
pkg_resources
withimportlib.metadata
Checklist
Update index.md
).main
branch of the repository.Developer Certificate of Origin
Developer Certificate of Origin
``` Developer Certificate of Origin Version 1.1 Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. ```