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

Feature request??? #3

Closed
gytis-ivaskevicius opened this issue May 28, 2021 · 4 comments
Closed

Feature request??? #3

gytis-ivaskevicius opened this issue May 28, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@gytis-ivaskevicius
Copy link

Hey, a little while back I was thinking of building something similar to this project but it is missing multiple features. And I was wondering if it's part of the roadmap.

Here is the features list:

  • Following branch/tag depending on regex (Example: Updating package to latest GCC 10.x version according to the tags)
  • Post processing (Some way to perform impure operations to calculate stuff like cargoSha256)

I realize, these are not minor tweaks, but I am just interested in the overall future of this project - maybe you could comment on this?

@blaggacao
Copy link
Contributor

@berberman & @gytis-ivaskevicius I would really welcome both of you collaborating on those ideas. I think nvfetcher has real potential since it strictly honors the fundamentals of standing on the shoulders of giants by relying on nvchecker, which has a pretty comprehensive upstream source support.

@gytis-ivaskevicius
Copy link
Author

Oh no!! I am being encouraged to learn Haskell 🥺
Maybe, maybe I'm up for the job. Tho first I'd like to hear what @berberman has to say about the goals of this project

@berberman
Copy link
Owner

Hi, thanks for the feature request.

Following branch/tag depending on regex (Example: Updating package to latest GCC 10.x version according to the tags)

This is an existing feature of nvchecker, so it's very easy to implement it for us, which I've just done in 9891d0d:

[gcc-10]
# Find a tag by regex
src.github_tag = "gcc-mirror/gcc"
src.include_regex = "releases/gcc-10.*"
fetch.github = "gcc-mirror/gcc"

Post processing (Some way to perform impure operations to calculate stuff like cargoSha256)

I'm not against adding language specific things, but afaik handling this for Rust or Go is tricky, which other related projects might have been facing the similar problem. Unfortunately, I know little about tooling in nix for languages other than Haskell... However, it might not be so difficult, as the internal structure of nvfetcher is very extensible, which let us add components easily. So the key questions here is what do we need to calculate cargoSha256. But notice that NixOS/nixpkgs#122158 was merged recently - do we need cargoSha256 anymore? Perhaps I need some help from nix + rust experts.

I realize, these are not minor tweaks, but I am just interested in the overall future of this project - maybe you could comment on this?

To be honest, there is no futre plan at all. I'm happy to see this project could be used by more people, and there will be more contributors.

@berberman berberman added the enhancement New feature or request label May 29, 2021
@gytis-ivaskevicius
Copy link
Author

Alright, that's cool.
I guess ill start learning Haskell and probably next weekend will give a shot with this codebase. Thinking about adding meta entries autogeneration from github/gitlab. That should be easy enough :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants