question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] Revisions are not updated

See original GitHub issue

Hello,

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:open
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
GitHubArecommented, Aug 5, 2021

It is JFrog Artifactory version 6.17.0

0reactions
birsoyocommented, Apr 22, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Revisions not updating status properly [#1780674] | Drupal.org
I am having problems publishing revisions in a Revisioning (7.x-1.4 & 7.x-1.dev) and Workflow (7.x-1.0) setup on Drupal 7.
Read more >
Fix Chrome update problems & failed updates - Google Support
If you're having problems updating Chrome on your computer, you might see: Update failed: Updates are disabled by administrator; Update failed (Error: 3...
Read more >
The risks of not updating software
The risks of not updating software. Failing to update your software may expose your network to at least 5 types of risks. Are...
Read more >
"Failure configuring Windows updates. Reverting changes ...
Do not turn off your computer and Configuring updates stage 3 of 3. ... When you try to install Windows updates, you get...
Read more >
How are revision numbers managed when committing bug ...
0 branch resulting in release 1.0.1. So I checked out release 1.0.0 into a new working directory and applied the bug fixes there...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found