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

Fix slug generation #207

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Fix slug generation #207

merged 2 commits into from
Nov 11, 2024

Conversation

Mark-Powers
Copy link
Contributor

Slugs are intended to be human-readable and unique for an artifact. However when a user submitted multiple versions they often got duplicated slugs. This was because our check for an existing version was based on the artifacts date, not the version date.

We attempted to fix in #133, but the issue persisted. I just happened to notice this filter code seemed wrong.

This also fixes test runner to always use sqlite3.

Slugs are intended to be human-readable and unique for an artifact.
However when a user submitted multiple versions they often got
duplicated slugs. This was because our check for an existing version was
based on the artifacts date, not the version date.

We attempted to fix in #133, but the issue persisted. I just happened to
notice this filter code seemed wrong.
Copy link
Contributor

@msherman64 msherman64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@Mark-Powers Mark-Powers merged commit 672ff18 into main Nov 11, 2024
9 checks passed
@Mark-Powers Mark-Powers deleted the bugfix/slug_generation branch November 11, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants