Comments (4)
There is a problem with xcb
crate which is used by x11-clipboard
. The crate generates sources on every build and these sources always come out different because: (1) there is a timestamp commented in them; (2) some elements in the generated code are being randomly reordered.
On the other hand, cargo keeps checksums of all the vendored crates and their files. xcb
fails checksum test on the second build after cargo-vendor
execution.
There is a possibility to use cargo's [replace]
and [patch]
sections to bypass the checksum test. But even this way working tree is left dirty on every rebuild.
I'm thinking about making a PR to xcb
repository to make source generation determinate for single crate version. If you have better ideas, I'd like to hear them :)
from rooster.
I will take this task now, before rooster weak
is implemented, so that zxcvbn
would be vendored right away.
from rooster.
Awesome, thanks a lot @yamnikov-oleg !
from rooster.
Good spot, @yamnikov-oleg ! Would be awesome if the xcb
crate could "just work" with cargo-vendor. I'm sure if you make a PR it would be a big win for the Rust ecosystem xcb
is not possible, the [replace]
and [patch]
method would be OK too.
from rooster.
Related Issues (20)
- create a dockerfile
- deduplicate code in "get" command HOT 1
- smarter search on delete/change/regenerate/rename/transfer HOT 3
- seccomp HOT 3
- Add a way to store and retrieve files with Rooster HOT 7
- Missing integration tests HOT 1
- Replace unfriendly error messages
- Rooster library aka. librooster HOT 4
- Multiple users for same application HOT 3
- Build error in Void linux HOT 21
- Add gcc to install.sh script HOT 1
- Windows Build Fails HOT 1
- Log in to xmpp server is too slow HOT 1
- Could not install in ubuntu 18 04 HOT 3
- Wayland Clipboard HOT 3
- Multiple entries for same application HOT 2
- password command HOT 3
- build errors HOT 3
- Cargo.lock missing 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 rooster.