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

project & script ids shouldn't be numeric - should be random hashes #2991

Closed
Tracked by #1245
johrstrom opened this issue Aug 30, 2023 · 0 comments · Fixed by #3000
Closed
Tracked by #1245

project & script ids shouldn't be numeric - should be random hashes #2991

johrstrom opened this issue Aug 30, 2023 · 0 comments · Fixed by #3000
Milestone

Comments

@johrstrom
Copy link
Contributor

johrstrom commented Aug 30, 2023

Using numeric ids can be troublesome because they're based on the past so they have that dependency on time. What's worse is when you delete a project and create a new one, you're back to the same ID when we've likely modified the filesystem already for that id.

So - instead of coupling the current project/script with the past scripts, let's just use random strings (maybe 6 characters) for IDs instead of counting integers.

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 a pull request may close this issue.

2 participants