hayamiz / twittering-mode

An Emacs major mode for Twitter
http://twmode.sourceforge.net/
546 stars 92 forks source link

Use parsable version string #159

Open conao3 opened 4 years ago

conao3 commented 4 years ago

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.