question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Would it be possible to create a __version__ attribute or similar so that individual runs can be reproduced? We usually recommend versioneer or similar for this kind of operation.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
zasdfgbnmcommented, Nov 14, 2018

@dgasmith I will start using versioneer when I’m ready to release 0.2.

1reaction
dgasmithcommented, Nov 13, 2018

Yea, versioneer is starting to get a bit out of date, not sure what happened to the maintainer. I would assume that someone will fork it at some point. Anywho versioneer is “installed” so that a git repo carries it around and acts like a static dependancy. While it hasn’t been updated in awhile it certainly does the job without issue and is used in many high profile projects, see the following two examples: https://github.com/pandas-dev/pandas https://github.com/dask/dask

Unfortunately not aware of alternatives for automatic versioning. There is the good old “by hand” approach, but it is easy to forget to update and has the downside of not being correct between releases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git - Tagging - Git SCM
Like most VCSs, Git has the ability to tag specific points in a repository's history as ... git tag -a v1.4 -m "my...
Read more >
Semantic Versioning 2.0.0 | Semantic Versioning
Abbreviating “version” as “v” is often seen with version control. Example: git tag v1.2.3 -m "Release version 1.2.3" , in which case “v1.2.3”...
Read more >
13. Tagging versions - Git How To
02 Tags for previous versions. Let's tag the version prior to the current version with the name v1-beta. First of all we will...
Read more >
Managing Releases with Semantic Versioning and Git Tags
Michael Miles from MIT Sloan shares how to manage software releases with semantic versioning and Git tags. Learn about build numbers and how...
Read more >
Tag a Version - OutSystems 11 Documentation
Tagging an application version in LifeTime means that a snapshot of the development state of the application is taken and a version number...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found