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

Ports 0.2 redesign #44

Open
Tracked by #25
Yohe-Am opened this issue Feb 28, 2024 · 1 comment
Open
Tracked by #25

Ports 0.2 redesign #44

Yohe-Am opened this issue Feb 28, 2024 · 1 comment
Labels
enhancement New feature or request ghjk ports Relating to the ports module.
Milestone

Comments

@Yohe-Am
Copy link
Contributor

Yohe-Am commented Feb 28, 2024

  • Move away from asdf based download/install/list model
  • Ports will be composed of
    • Resolver: function that'll change the user provided InstallConfig into one that the port can work with
      • Entry point for fuzzy version matching
      • Can resolve other non-version fields (rust targets and components for example)
    • Builder: any number of steps to complete that'll produce the final artifacts.
      • We don't really need an install step as ports are not allowed touch user's system. This might prove a blocker for some kinds of software.
      • Each step will be memoized
      • This should provide flexibility for ports that need to more than fetch artifacts from network.
      • Implementation should have in mind shape of any future Build module weather we write our own or integrate from third-parties.
      • For the 0.2 impl, just simply adapt the InstallsDb to support more than install/download step.
      • If not possible to do hashing on steps themselves, we can always do hash(port-semver, step-idx)

Early sketch: #36 (comment)

Copy link

linear bot commented Feb 28, 2024

MET-412 Ports 0.2

@Yohe-Am Yohe-Am changed the title Ports 0.2 Ports 0.2 redesign Feb 28, 2024
@Yohe-Am Yohe-Am added the enhancement New feature or request label Feb 28, 2024
@Yohe-Am Yohe-Am added the ghjk label Feb 28, 2024 — with Linear
@Yohe-Am Yohe-Am added this to the 0.3 milestone Jun 21, 2024
@Yohe-Am Yohe-Am added the ports Relating to the ports module. label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ghjk ports Relating to the ports module.
Projects
None yet
Development

No branches or pull requests

1 participant