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: Package API #75

Merged
merged 67 commits into from
Aug 31, 2024
Merged

Feature: Package API #75

merged 67 commits into from
Aug 31, 2024

Conversation

pauliesnug
Copy link
Member

No description provided.

@pauliesnug pauliesnug added enhancement New feature or request help wanted Extra attention is needed javascript Pull requests that update Javascript code rust Pull requests that update Rust code labels Aug 5, 2024
@pauliesnug pauliesnug added this to the Release v1.0.0 milestone Aug 5, 2024
@pauliesnug pauliesnug marked this pull request as ready for review August 5, 2024 01:07
@pauliesnug
Copy link
Member Author

pauliesnug commented Aug 19, 2024

@LynithDev generate_contexts explaination:
basically, it collects the file hashes of all the mods/resourcepacks/whatever inside the cluster, and then it associates metadata with them:

  1. it is called if a mod file is added manually to the file system
  2. it is called regularly on cluster syncing
  3. Managed types are based around Modrinth API responses, they should be easily mappable to modrinth, except that i put package in place of project since that is what curseforge uses iirc. (we should rename most references of managed packages into projects to be more aligned with the modrinth api)
  4. Mapped types use a system for inferring the ID of each package. each package has PackageMetadata which can map to Managed or Mapped right now, but we should rename Managed to Modrinth and add Curseforge datatypes for eahc provider inside PackageMetadata.
  5. i can work on the system for inferring mod metadata based on the mod file right now, or i can work on making your package api/modrinth package api integrated with the Managed (to be renamed Modrinth) package api.

pauliesnug and others added 12 commits August 20, 2024 06:19
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
pauliesnug and others added 28 commits August 25, 2024 23:46
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
format: Auto formatted frontend + backend
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
Signed-off-by: Pauline <git@ethanlibs.co>
@pauliesnug pauliesnug merged commit 28b1f9f into main Aug 31, 2024
1 of 10 checks passed
@pauliesnug pauliesnug deleted the feat/package_api branch August 31, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed javascript Pull requests that update Javascript code rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants