-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Describe the bug
When I try to upload a debian artifact for focal and jammy, it will appear in the UI correct, but is not actually installable until I click on the property in the UI and then click save. This makes me wonder if there is some invisible character that isn't being properly sent.
I feel like it has to be something with the semi-colon that seems to be required, but i haven't figured out a way around that.
To Reproduce
Steps to reproduce the behavior:
- Try to upload an artifact with more than a single value for a property
- Verify that it appears in the UI
- Check to see if the deb is available for installation on the focal or jammy system
Expected behavior
Both values show up in the UI and when trying to install, or list, the package shows up in both a focal and a jammy install.
apt clean all ; apt update ; apt info -a <package>
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
- OS: Ubuntu 20.04 and Ubuntu 22.04
- pyartifactory version [e.g. 1.4.0], get it with:
python -c "import pyartifactory; print(pyartifactory.__version__)"
2.5.1
- Python version, get it with:
/usr/bin/python3 --version
Python 3.10.15
Code snippet
upload = art.artifacts.deploy(f'{base_dir}{item["Key"]}', f'{repo}/{item["Key"]}')
# Update Artifact properties
print(f'Setting Properties for {item["Key"]}')
set_art_props = art.artifacts.update_properties(
f'{repo}/{item["Key"]}', {
"deb.architecture" : ["amd64"], \
"deb.distribution" : ["focal;jammy"], \
"deb.component" : [f"{component}"],
"md5" : [md5]},
recursive=False)
Additional context
Add any other context about the problem here.