Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

[DEV] automatically generate date suffix for dev versions #1314

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

szha
Copy link
Member

@szha szha commented Aug 25, 2020

Description

automatically generate date suffix for dev versions

Checklist

Essentials

  • PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage
  • Code is well-documented

Changes

  • automatically generate date suffix for dev versions

cc @dmlc/gluon-nlp-team

@szha szha requested a review from a team as a code owner August 25, 2020 04:49
@szha
Copy link
Member Author

szha commented Aug 25, 2020

with this change, I think we won't really need a nightly build as people can install from github directly and still has a version-number/date to reference.

@sxjscience
Copy link
Member

sxjscience commented Aug 25, 2020 via email

@szha
Copy link
Member Author

szha commented Aug 25, 2020

I don't think relying on an environment variable is the way to go. For one, this creates a leaky abstraction outside of version control. We have a proper path for managing different versions due to our use of release branches and tags, so there really isn't a need for the autogluon approach for us.

Copy link
Member

@sxjscience sxjscience left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov
Copy link

codecov bot commented Aug 25, 2020

Codecov Report

Merging #1314 into master will increase coverage by 0.17%.
The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1314      +/-   ##
==========================================
+ Coverage   84.27%   84.45%   +0.17%     
==========================================
  Files          42       42              
  Lines        6423     6426       +3     
==========================================
+ Hits         5413     5427      +14     
+ Misses       1010      999      -11     
Impacted Files Coverage Δ
setup.py 0.00% <0.00%> (ø)
src/gluonnlp/__init__.py 100.00% <100.00%> (ø)
src/gluonnlp/data/loading.py 83.39% <0.00%> (+5.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b14d69...2371eb4. Read the comment docs.

@szha szha merged commit dca17ee into dmlc:master Aug 25, 2020
barry-jin added a commit to barry-jin/gluon-nlp that referenced this pull request Aug 25, 2020
automatically generate date suffix for dev versions (dmlc#1314)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants