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

removed unnecessary dependency #5641

Merged
merged 1 commit into from
Feb 6, 2025
Merged

Conversation

81hvac1k02
Copy link
Contributor

The project currently includes 3 different UUID modules:

  • github.com/gofrs/uuid/v5
    which is used directly by the github.com/stashapp/stash/pkg/scraper/stashbox package to check if a sting is a uuid.

  • github.com/google/uuid
    indirectly by github.com/99designs/gqlgen/graphql which is heavily used in github.com/stashapp/stash/internal/api package.

  • github.com/nu7hatch/gouuid
    indirectly used by github.com/go-toast/toast used in the github.com/stashapp/stash/internal/desktop.

So what this PR does is use one of the other already used UUID modules instead of pulling in yet another one to do the same task they can.

@WithoutPants WithoutPants added the chore Pull requests for refactoring and admin work label Feb 6, 2025
@WithoutPants WithoutPants added this to the Version 0.28.0 milestone Feb 6, 2025
@WithoutPants WithoutPants merged commit dd40c07 into stashapp:develop Feb 6, 2025
2 checks passed
javstash added a commit to javstash/stash that referenced this pull request Feb 7, 2025
removed un-necesarry dependancy (stashapp#5641)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for refactoring and admin work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants