automat icon indicating copy to clipboard operation
automat copied to clipboard

use incremental

Open glyph opened this issue 8 years ago • 4 comments

hey @hawkowl. what's up

glyph avatar Jan 24 '17 02:01 glyph

(https://pypi.org/project/incremental/ for those who do not already know)

glyph avatar Jan 24 '17 04:01 glyph

Hi @glyph, have you seen Versioneer?

I am not familiar with incremental, but it looks like you still have to call it whenever you need a new version. The cool thing about Versioneer is that it manages the version based on the VCS tree. Once it is "installed" in the package, you do not have to worry about it.

As we naturally git tag when we make a new release, every time the version is requested, Versioneer will retrieve it based on the latest tag. The version is relative to the tag so that any change to the repo has a unique version such as 0.11+2.g1076c97 for commits after tag 0.11 or even 0.11+2.g1076c97.dirty for uncommitted changes after those commits.

felipedau avatar Mar 05 '17 06:03 felipedau

@felipedau Yes, I have. Incremental manages other aspects of the versioning process, such as runtime version comparison, and updating API documentation when releases occur. I know the authors of both packages :).

glyph avatar Mar 06 '17 06:03 glyph

On Sun, Mar 05, 2017 at 10:34:25PM -0800, Glyph wrote:

@felipedau Yes, I have. Incremental manages other aspects of the versioning process, such as runtime version comparison, and updating API documentation when releases occur. I know the authors of both packages :).

Oh, very interesting! I should have read more about incremental :P I will definitely take a look into it.

Thanks!

felipedau avatar Mar 07 '17 03:03 felipedau