Comments (6)
That's odd. The code allows it:
https://github.com/0install/0install/blob/master/ocaml/zeroinstall/distro_impls.ml#L901
And the tests seem to use slashes:
0install/ocaml/tests/test_distro.ml
Line 140 in 868a0aa
Perhaps the distribution attribute is missing, so it doesn't know this is for Gentoo? Do you have an example?
from 0install.
Sample feed provided by @pmiess: https://pmiess.gitlab.io/0install-feeds/gnuwin32/giflib.xml
The element in question is <package-implementation distributions="Gentoo" package="media-libs/giflib"/>
.
from 0install.
Works for me:
docker create -v /usr/portage --name myportagesnapshot gentoo/portage:latest /bin/true
docker run --rm -it --volumes-from myportagesnapshot gentoo/stage3-amd64:latest /bin/bash
emerge net-misc/curl
emerge app-crypt/gnupg
emerge media-libs/giflib
wget https://downloads.sourceforge.net/project/zero-install/0install/2.12.3/0install-linux-x86_64-2.12.3.tar.bz2
tar xf /0install-linux-x86_64-2.12.3.tar.bz2
./0install-linux-x86_64-2.12.3/install.sh local
0install select --command= https://pmiess.gitlab.io/0install-feeds/gnuwin32/giflib.xml
Gives:
0install: /usr/lib64/libcurl.so.4: no version information available (required by 0install)
Feed: https://pmiess.gitlab.io/0install-feeds/gnuwin32/giflib.xml
The feed is correctly signed with the following keys:
- 6A66E9E5CA43E23F678478B96ABB34B516AD1160
Warning: Nothing known about this key!
Do you want to trust this key to sign feeds from 'pmiess.gitlab.io'?
[Y/N] y
- URI: https://pmiess.gitlab.io/0install-feeds/gnuwin32/giflib.xml
Version: 5.1.4
Path: (package:gentoo:media-libs/giflib:5.1.4:x86_64)
from 0install.
(the message you mention may appear on other distributions as the name isn't valid there, but it's just a log message and only shown with verbose logging on)
from 0install.
The message appears on windows, I don't see why it would complain that Gentoo package names are not valid when they are on Gentoo. However if your happy with that I guess as long as its not hurting anything I can ignore it.
from 0install.
It's not complaining, it's just saying that it's ignoring it because it's not a valid name (on the host platform):
info: Ignoring invalid distribution package name 'media-libs/giflib'
Maybe it should add (for host platform)
or something.
from 0install.
Related Issues (20)
- 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
- does the packages use mount point ? HOT 2
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.