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.

Upload with `--force` doesn't regenerate `repodata.json`

See original GitHub issue

When uploading the same package version again (using --force) the repodata is not generated, which can lead to SHA256 and file size mismatches.

We should properly store the new checksum & file size and regenerate the repodata.json.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
brichetcommented, Jul 28, 2022

There are 2 different API requests that can upload a package : https://github.com/mamba-org/quetz/blob/d272e615323c7110bfb7356746e66bdaf7658eae/quetz/main.py#L1284-L1288 and https://github.com/mamba-org/quetz/blob/d272e615323c7110bfb7356746e66bdaf7658eae/quetz/main.py#L1375

The first one doesn’t build the repodata.json file at all.

This may be the error you have encountered.

0reactions
brichetcommented, Aug 16, 2022

Should be fixed in https://github.com/mamba-org/quetz/pull/555 @wolfv do you still have the error ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · mamba-org/quetz - GitHub
JSONDecodeError raised by stringify() function in conda when fetching repodata from quetz-based ... Upload with --force doesn't regenerate repodata.json.
Read more >
Content Management Guide Red Hat Satellite 6.10
Use this guide to understand and manage content in Satellite 6. Examples of such content include RPM files, and ISO images. Red Hat...
Read more >
NXRM OSS 3.13.0-01 : My repodata is not being updated
I created a hosted YUM repository. In the build process I pushed a number of RPMs into it. In the initial push, the...
Read more >
conda install packages error: Collecting package metadata ...
I typed conda config --set show_channel_urls true in anaconda prompt to regenerate the .condarc file and then modified it. The problem was ......
Read more >
Artifactory REST API - JFrog - JFrog Documentation
Description: Push a build to Bintray as a version. Uses a descriptor file (that must have 'bintray-info' in it's filename and a .json...
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