-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use full repo when building windows installer #1232
Conversation
* by default depth is 1 and hence only HEAD is checked out * this gives version below i.e. tag is missing NEURON -- VERSION + HEAD (0e9a051+) 2021-04-30
Codecov Report
@@ Coverage Diff @@
## master #1232 +/- ##
==========================================
+ Coverage 31.87% 31.95% +0.08%
==========================================
Files 572 572
Lines 108988 108988
==========================================
+ Hits 34739 34829 +90
+ Misses 74249 74159 -90
Continue to review full report at Codecov.
|
* by default depth is 1 and hence only HEAD is checked out * this gives version below i.e. tag is missing NEURON -- VERSION + HEAD (0e9a051+) 2021-04-30
Isn't this a sledgehammer for a gnat? What depth would be sufficient to get a good NEURON version? |
I think there is no easy way - we need to know the last tag for |
|
The
The git-checkout-all-remote script is
So now the time it takes work on a fresh clone from GitHub is not onerous, e.g.
The flaw, of course, is that subprocess cloneing time is not reduced when I need CoreNEURON, NMODL, etc. |
My solution is only for CI, nothing more. On local if you remove all branches it will be hard to work. Locally you can clone it once, and update the repository each day? |
Unfortunately this feature has to be supported by GHA/Azure, or at least have some simple script on top of their checkout mechanisms. Otherwise there are several events to take into account (PRs, merge, release branches, manual dispatch, ...) and that would take dedicated time to cover & properly test & more maintenance . I can maybe propose a compromise: |
NEURON -- VERSION + HEAD (0e9a051+) 2021-04-30