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

Use parsable version string #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

conao3
Copy link

@conao3 conao3 commented Dec 6, 2019

Currently, your package warning from package-lint.

 twitteri…    14  13 warning         "head" is not a valid version. MELPA will handle this, but other archives will not. (emacs-lisp-package)

And see below snippet.

(version-to-list "3.0.0")
;;=> (3 0 0)


(version-to-list "HEAD")
;;=> (error "Invalid version syntax: ‘HEAD’ (must start with a number)")


(version-to-list "3.0.0-snapshot")
;;=> (3 0 0 -4)

So, 3.0.0-snapshot is parsable and reasonable version name.
If you think 3.0.0 is better, I fix it.

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.

None yet

1 participant