Comments (9)
Rather than using a heuristic, could we have a special file at the top-level of the whole cache to indicate this? e.g. /var/cache/0install.net/implementations/.no-xbits
or something? Might be more reliable than guessing.
from 0install.
I agree a flag file seems like a better solution. But who would be responsible for creating it? Any Zero Install instance running on Windows coming across an implementation directory that does not have one yet?
from 0install.
Yes, I think that makes sense (the check would be done on first write, I imagine).
from 0install.
I'll add the corresponding code to the next Zero Install for Windows release. I'd go for .no-unix-fs
if that's fine for you.
from 0install.
Sounds good to me!
from 0install.
Ok, the .no-unix-fs
generation code has been in the Windows releases for a while now, so most auto-updating users should have it by now.
Could you look into the OCaml side of this feature? I still have zero experience with the language.
from 0install.
Does this only affect 0install store audit
/ verify
?
from 0install.
It also affects 0install select / download / update / run
since a user might set up 0install on Linux to write newly downloaded implementations to a cache stored on an NTFS partition.
from 0install.
This could be split up into two steps:
- Modify
0install store audit
/verify
to look for presence of a.no-unix-fs
file.
If this is detected take the "executable" and "symlink" states from the.manifest
file rather than looking the file system itself.
Additional value provided: Implementations downloaded on Windows can be verified on Linux. - Modify
0install store select
/download
/run
to look for presence of a.no-unix-fs
file.
If this is detected write the "executable" and "symlink" states to the.manifest
file but do not attempt to apply them to the file system. This would entail getting "executable" and "symlink" states from archives before extracting them.
Additional value provided: Implementations downloaded on Linux can be used on Windows.
from 0install.
Related Issues (20)
- Cannot delete 0install.net folder in Windows HOT 2
- 0install not following HTTP 302 redirects HOT 2
- Add support for unpacking .dmg on OSX
- Installing 0repo and its dependencies (git, git-core, and python) on Mac OSX HOT 4
- New "0install trust add|remove" commands HOT 1
- python injector fails with a bytes-like object is required HOT 1
- support tar.zst in the 2.3 python version
- JSON API not working on Linux HOT 2
- Assertion failure in 0install/src/solver/sat.ml, line 602 HOT 3
- "archive is corrupted" HOT 1
- MacOS package outdated HOT 2
- 0install add behind proxy HOT 2
- Documentation regarding how to request a new package HOT 1
- 0repo cannot be installed HOT 5
- Add a `--yes` option to add HOT 2
- Support for credentials? HOT 5
- Set ZEROINSTALL and ZEROINSTALL_FEED_URI environment variables HOT 2
- Support for yojson 2.0.2 HOT 1
- Why does `0install digest` require a MIME type? HOT 3
- 0install was installed on my computer without permission how do I delete it 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 0install.