Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow unsetting epoch and iteration by passing empty strings #190
package.rb initializes epoch and iteration to nil, but the default
package.rb initializes epoch and iteration to nil, but the default arguments for both are '1', which means the package version always ends up with an epoch and an iteration. By changing the template to take empty strings into account you can customize the version string by passing --epoch '' and --iteration ''.
Fiddling around with things:
After some patching, this seems correct based on the feature requested here (default epoch and iteration should be nil)