Comments (5)
Currently the version number to the final build is extracted from git tags. How would that work with shallow clones? With --always
flag and shallow clone, the version number would end up being a git hash, which in it self isn't really describable. Can you do a shallow clone so that it fetches the latest tag too?
from gnvim.
Having a git hash is better than lying about the version ? It means it's a dev version. Sounds good to me else how am i supposed to build the dev version ? Btw if the version number should remain static, better write it into the file than using git. Tarballs typically dont contain the .git folder and i myself had to go to extra length to fetch bot the git folder and the tags (not fetchef by default). Otherwise i may patch the build.rs to bypass the git logic.
from gnvim.
This script might be helpful: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gnvim-git
from gnvim.
thanks why are there 2 pkgver ? with nix, I think the rust building process will fail if I use the plain make (no internet access during builds) so I have to follow the standard way. It is just a matter of setting a version that upstream an packagers are happy about.
from gnvim.
Arch allows for package versions with rel
versions, e.g. 0.1.0-a1a1a
where a1a1a
is the HEAD sha.
If you can't have internet access during installation perhaps you'll have to distribute the binary directly, i.e. building during packaging and just copying the binary on package install.
from gnvim.
Related Issues (20)
- Fold closes when losing focus HOT 1
- Crash: thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/ui/grid/grid.rs:134:55 HOT 1
- Can't build project on Ubuntu 22.04.1. HOT 1
- Cannot start on MacOS: "cannot open display" HOT 5
- Handle Gnome dark mode? HOT 3
- build error error[E0658]: deriving `Default` on enums is experimental HOT 1
- thread 'main' panicked at 'Failed to retrieve template child. Please check that it has been bound and has a #[template_child] attribute. HOT 8
- `cargo install --git` install method? HOT 1
- Gnvim is broken for nvim 0.9+ HOT 6
- Lock file out of sync HOT 1
- `g:gnvim` is not defined anymore HOT 2
- Sometimes prints panic message on startup HOT 4
- Add configuration script examples? HOT 1
- `assertion failed: min <= max` at `gnvim::components::shell::Shell::handle_float_pos` HOT 1
- Blank page on startup HOT 2
- Black screen on nvim 0.10.x (panic) HOT 1
- gnvim runs, but the executed page does not display anything HOT 7
- The issue "proc macro template_callbacks not expanded HOT 2
- Request for prebuilt binary release
- Black screen / no titlebar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnvim.