Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cph transmute tarbz -> conda and repodata_builds.json #4824

Closed
2 of 4 tasks
barabo opened this issue Mar 24, 2023 · 4 comments
Closed
2 of 4 tasks

cph transmute tarbz -> conda and repodata_builds.json #4824

barabo opened this issue Mar 24, 2023 · 4 comments
Labels
backlog issue has been triaged but has not been earmarked for any upcoming release locked [bot] locked due to inactivity source::anaconda created by members of Anaconda, Inc. type::feature request for a new feature or capability

Comments

@barabo
Copy link

barabo commented Mar 24, 2023

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

When using conda build, I would like:

  • the option to generate a repodata_builds.json that includes only the built packages (but otherwise this file could be used as a miniature repodata.json file).
  • when transmuting a built tarbz file to a conda file, I would like the transmuted conda package also included in the packages.conda section of the repodata_builds.json file

Why is this needed?

This would simplify my build process. Currently I'm using conda build to build tarbz packages, transmuting them to conda packages, and (in a hacky way) inserting entries into my repodata_builds.json file in the packages.conda section.

What should happen?

Perhaps something like: conda build --repodata-builds --transmute would do all the things described in the idea section above.

Additional Context

This is a nice-to-have feature. I'm currently able to work with my existing setup, even though it's a bit hacky.

@barabo barabo added the type::feature request for a new feature or capability label Mar 24, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Mar 24, 2023
@dholth
Copy link
Contributor

dholth commented Mar 27, 2023

Do you think it is too slow to re-index the local channel after conda-build or (a separate project) cph transmute?

@travishathaway travishathaway added the source::anaconda created by members of Anaconda, Inc. label May 8, 2023
@dholth
Copy link
Contributor

dholth commented May 22, 2023

We do have a nice conda-index API that separates out the "os.listdir" step; the class is designed to be overridden so that the list of files to be indexed can be controlled.

@barabo
Copy link
Author

barabo commented May 22, 2023

I'll look into using conda-index on the local build output dir (or on the individual files). I'm not sure conda-index is already included in my build worker, so there may be some wrinkles getting it deployed wherever we're building - but if it works that may be the way we go.

@beeankha beeankha added the backlog issue has been triaged but has not been earmarked for any upcoming release label Jun 29, 2023
@dholth
Copy link
Contributor

dholth commented Feb 5, 2024

Not planned.

@dholth dholth closed this as completed Feb 5, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to 🏁 Done in 🧭 Planning Feb 5, 2024
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backlog issue has been triaged but has not been earmarked for any upcoming release locked [bot] locked due to inactivity source::anaconda created by members of Anaconda, Inc. type::feature request for a new feature or capability
Projects
Archived in project
Development

No branches or pull requests

4 participants