[bug] Revisions are not updated
See original GitHub issueHello,
I am producing revisions for versions (enabled on server and client). In short - no matter what I tried to do, I dont seem to be able to get new version, only if I delete packages locally and pull new. We are using SCM for revisions, therefore the revision is GIT sha and not the default hash.
Environment Details
- Operating System+version: Ubuntu 20.04
- Conan version: 1.35.1
- Python version: 3.9.5
Steps to reproduce
Create intial revision pull on client via command: conan install “pkg/12.0.0@user/stable” --update -r server -o app=app -o variant=debug -o server_build=True Create new version Run again conan install “pkg/12.0.0@user/stable” --update -r server -o app=app -o variant=debug -o server_build=True
Output: Installing package: x/y@z/stable Requirements x/y@z/stable from ‘server’ - Cache Packages x/y@z/stable:23d871b02677d94407dd30d3bcf29c0dabdfa428 - Cache Installing (downloading, building) binaries… Already installed!
list local revision (returns old one)
root@ca8832285a96:/usr/local# conan search "application/4.5.3@user/stable" --rev
Revisions for 'application/4.5.3@user/stable':
4ea97533e216bc63ac1fd9e4d96f15e6d44342a1 (2021-08-03 16:25:31 UTC)
list revisions on server - notice new one
root@ca8832285a96:/usr/local# conan search "application/4.5.3@user/stable" --rev -r server
Revisions for 'application/4.5.3@user/stable' at remote 'server':
4b1ece5f4134ad22e57262a5ee68acb5a43ce65b (2021-08-03 16:39:58 UTC)
4ea97533e216bc63ac1fd9e4d96f15e6d44342a1 (2021-08-03 16:25:31 UTC)
finally try to update
root@ca8832285a96:/usr/local# conan install "application/4.5.3@user/stable" --update -r server -o app=application -o variant=debug -o server_build=True
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=9
os=Linux
os_build=Linux
[options]
app=application
server_build=True
variant=debug
[build_requires]
[env]
Installing package: application/4.5.3@user/stable
Requirements
application/4.5.3@user/stable from 'server' - Cache
Packages
application/4.5.3@user/stable:23d871b02677d94407dd30d3bcf29c0dabdfa428 - Cache
Installing (downloading, building) binaries...
application/4.5.3@user/stable: Already installed!
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
It is JFrog Artifactory version 6.17.0
I am having exact the same problem. server : JFrog Artifactory 7.33.12 rev 73312900 macOS: 11.6.2 python: 3.8.9 conan : 1.47.0
I am using revision_mode = “scm”.
I think my state is same as reported above with times etc.