Skip to content
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

Profile #474

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

Profile #474

wants to merge 26 commits into from

Conversation

Alessandro-Barbieri
Copy link
Contributor

No description provided.

 Changes to be committed:
	deleted:    package.keywords/sage
	deleted:    package.keywords/sage-7.5.1
	deleted:    package.keywords/sage-devel
	new file:   profiles/default/devel/bindoc/parent
	new file:   profiles/default/devel/parent
	new file:   profiles/default/parent
	new file:   profiles/default/stable/bindoc/parent
	new file:   profiles/default/stable/parent
	renamed:    package.use/99sage-bin-doc -> profiles/features/bindoc/package.use
	renamed:    package.unmask/sage -> profiles/package.unmask
	new file:   profiles/prefix/devel/bindoc/parent
	new file:   profiles/prefix/devel/parent
	renamed:    package.keywords/sage.prefix -> profiles/prefix/package.keywords
	new file:   profiles/prefix/parent
	new file:   profiles/prefix/stable/bindoc/parent
	new file:   profiles/prefix/stable/parent
	renamed:    package.keywords/sage-9999 -> profiles/releases/devel/package.keywords
	renamed:    package.use/sage-unstable -> profiles/releases/devel/package.use
	new file:   profiles/releases/devel/parent
	renamed:    package.keywords/sage-7.6 -> profiles/releases/stable/package.keywords
	renamed:    package.use/sage -> profiles/releases/stable/package.use
 Changes to be committed:
	modified:   profiles/prefix/devel/parent
 Changes to be committed:
	deleted:    profiles/prefix/devel/bindoc/parent
	new file:   profiles/prefix/linux/amd64/devel/bindoc/parent
	new file:   profiles/prefix/linux/amd64/devel/parent
	renamed:    profiles/prefix/devel/parent -> profiles/prefix/linux/amd64/parent
	new file:   profiles/prefix/linux/amd64/stable/bindoc/parent
	new file:   profiles/prefix/linux/amd64/stable/parent
	renamed:    profiles/prefix/stable/parent -> profiles/prefix/linux/parent
	new file:   profiles/prefix/linux/x86/devel/bindoc/parent
	new file:   profiles/prefix/linux/x86/devel/parent
	new file:   profiles/prefix/linux/x86/parent
	new file:   profiles/prefix/linux/x86/stable/bindoc/parent
	new file:   profiles/prefix/linux/x86/stable/parent
	deleted:    profiles/prefix/stable/bindoc/parent
	new file:   profiles/profiles.desc
 Changes to be committed:
	new file:   profiles/prefix/linux-standalone/amd64/devel/bindoc/parent
	new file:   profiles/prefix/linux-standalone/amd64/devel/parent
	new file:   profiles/prefix/linux-standalone/amd64/parent
	new file:   profiles/prefix/linux-standalone/amd64/stable/bindoc/parent
	new file:   profiles/prefix/linux-standalone/amd64/stable/parent
	new file:   profiles/prefix/linux-standalone/parent
	new file:   profiles/prefix/linux-standalone/x86/devel/bindoc/parent
	new file:   profiles/prefix/linux-standalone/x86/devel/parent
	new file:   profiles/prefix/linux-standalone/x86/parent
	new file:   profiles/prefix/linux-standalone/x86/stable/bindoc/parent
	new file:   profiles/prefix/linux-standalone/x86/stable/parent
	modified:   profiles/profiles.desc
 Changes to be committed:
	new file:   profiles/default/linux/amd64/13.0/devel/parent
	new file:   profiles/default/linux/amd64/13.0/parent
	new file:   profiles/default/linux/amd64/13.0/stable/bindoc/parent
	new file:   profiles/default/linux/amd64/13.0/stable/parent
	deleted:    profiles/default/linux/amd64/devel/parent
	deleted:    profiles/default/linux/amd64/stable/bindoc/parent
	deleted:    profiles/default/linux/amd64/stable/parent
	new file:   profiles/default/linux/x86/13.0/devel/parent
	new file:   profiles/default/linux/x86/13.0/parent
	new file:   profiles/default/linux/x86/13.0/stable/bindoc/parent
	new file:   profiles/default/linux/x86/13.0/stable/parent
	deleted:    profiles/default/linux/x86/devel/parent
	deleted:    profiles/default/linux/x86/stable/bindoc/parent
	deleted:    profiles/default/linux/x86/stable/parent
	modified:   profiles/prefix/linux-standalone/amd64/parent
	modified:   profiles/prefix/linux-standalone/x86/parent
	modified:   profiles/prefix/linux/amd64/parent
	modified:   profiles/prefix/linux/x86/parent
	modified:   profiles/profiles.desc
 Changes to be committed:
	modified:   profiles/default/linux/amd64/13.0/devel/parent
	modified:   profiles/default/linux/amd64/13.0/parent
	modified:   profiles/default/linux/amd64/13.0/stable/bindoc/parent
	modified:   profiles/default/linux/amd64/13.0/stable/parent
	modified:   profiles/default/linux/amd64/parent
	modified:   profiles/default/linux/parent
	modified:   profiles/default/linux/x86/13.0/devel/parent
	modified:   profiles/default/linux/x86/13.0/parent
	modified:   profiles/default/linux/x86/13.0/stable/bindoc/parent
	modified:   profiles/default/linux/x86/13.0/stable/parent
	modified:   profiles/default/linux/x86/parent
	modified:   profiles/default/parent
	modified:   profiles/prefix/linux-standalone/amd64/devel/parent
	modified:   profiles/prefix/linux-standalone/amd64/parent
	modified:   profiles/prefix/linux-standalone/amd64/stable/bindoc/parent
	modified:   profiles/prefix/linux-standalone/amd64/stable/parent
	modified:   profiles/prefix/linux-standalone/parent
	modified:   profiles/prefix/linux-standalone/x86/devel/parent
	modified:   profiles/prefix/linux-standalone/x86/parent
	modified:   profiles/prefix/linux-standalone/x86/stable/bindoc/parent
	modified:   profiles/prefix/linux-standalone/x86/stable/parent
	modified:   profiles/prefix/linux/amd64/devel/parent
	modified:   profiles/prefix/linux/amd64/parent
	modified:   profiles/prefix/linux/amd64/stable/bindoc/parent
	modified:   profiles/prefix/linux/amd64/stable/parent
	modified:   profiles/prefix/linux/parent
	modified:   profiles/prefix/linux/x86/devel/parent
	modified:   profiles/prefix/linux/x86/parent
	modified:   profiles/prefix/linux/x86/stable/bindoc/parent
	modified:   profiles/prefix/linux/x86/stable/parent
	modified:   profiles/prefix/parent
	modified:   profiles/thirdpartymirrors
 Changes to be committed:
	modified:   profiles/default/linux/amd64/13.0/devel/parent
	modified:   profiles/default/linux/amd64/13.0/stable/parent
	modified:   profiles/default/linux/x86/13.0/devel/parent
	modified:   profiles/default/linux/x86/13.0/stable/parent
 Changes to be committed:
	modified:   metadata/layout.conf
	new file:   profiles/arch.list
	modified:   profiles/default/linux/x86/13.0/parent
	new file:   profiles/eapi
	new file:   profiles/features/bindoc/eapi
	new file:   profiles/prefix/eapi
	new file:   profiles/releases/devel/eapi
	new file:   profiles/releases/stable/eapi
 Changes to be committed:
	modified:   profiles/releases/devel/package.keywords
	modified:   profiles/releases/stable/package.keywords
 Changes to be committed:
	modified:   profiles/arch.list
	modified:   profiles/profiles.desc
	modified:   profiles/thirdpartymirrors
 Changes to be committed:
	modified:   profiles/package.mask
	modified:   profiles/releases/devel/package.keywords
 Changes to be committed:
	deleted:    package.keywords/sage
	deleted:    package.keywords/sage-7.5.1
	deleted:    package.keywords/sage-devel
	new file:   profiles/default/devel/bindoc/parent
	new file:   profiles/default/devel/parent
	new file:   profiles/default/parent
	new file:   profiles/default/stable/bindoc/parent
	new file:   profiles/default/stable/parent
	renamed:    package.use/99sage-bin-doc -> profiles/features/bindoc/package.use
	renamed:    package.unmask/sage -> profiles/package.unmask
	new file:   profiles/prefix/devel/bindoc/parent
	new file:   profiles/prefix/devel/parent
	renamed:    package.keywords/sage.prefix -> profiles/prefix/package.keywords
	new file:   profiles/prefix/parent
	new file:   profiles/prefix/stable/bindoc/parent
	new file:   profiles/prefix/stable/parent
	renamed:    package.keywords/sage-9999 -> profiles/releases/devel/package.keywords
	renamed:    package.use/sage-unstable -> profiles/releases/devel/package.use
	new file:   profiles/releases/devel/parent
	renamed:    package.keywords/sage-7.6 -> profiles/releases/stable/package.keywords
	renamed:    package.use/sage -> profiles/releases/stable/package.use
 Changes to be committed:
	modified:   profiles/prefix/devel/parent
 Changes to be committed:
	deleted:    profiles/prefix/devel/bindoc/parent
	new file:   profiles/prefix/linux/amd64/devel/bindoc/parent
	new file:   profiles/prefix/linux/amd64/devel/parent
	renamed:    profiles/prefix/devel/parent -> profiles/prefix/linux/amd64/parent
	new file:   profiles/prefix/linux/amd64/stable/bindoc/parent
	new file:   profiles/prefix/linux/amd64/stable/parent
	renamed:    profiles/prefix/stable/parent -> profiles/prefix/linux/parent
	new file:   profiles/prefix/linux/x86/devel/bindoc/parent
	new file:   profiles/prefix/linux/x86/devel/parent
	new file:   profiles/prefix/linux/x86/parent
	new file:   profiles/prefix/linux/x86/stable/bindoc/parent
	new file:   profiles/prefix/linux/x86/stable/parent
	deleted:    profiles/prefix/stable/bindoc/parent
	new file:   profiles/profiles.desc
 Changes to be committed:
	new file:   profiles/prefix/linux-standalone/amd64/devel/bindoc/parent
	new file:   profiles/prefix/linux-standalone/amd64/devel/parent
	new file:   profiles/prefix/linux-standalone/amd64/parent
	new file:   profiles/prefix/linux-standalone/amd64/stable/bindoc/parent
	new file:   profiles/prefix/linux-standalone/amd64/stable/parent
	new file:   profiles/prefix/linux-standalone/parent
	new file:   profiles/prefix/linux-standalone/x86/devel/bindoc/parent
	new file:   profiles/prefix/linux-standalone/x86/devel/parent
	new file:   profiles/prefix/linux-standalone/x86/parent
	new file:   profiles/prefix/linux-standalone/x86/stable/bindoc/parent
	new file:   profiles/prefix/linux-standalone/x86/stable/parent
	modified:   profiles/profiles.desc
 Changes to be committed:
	new file:   profiles/default/linux/amd64/13.0/devel/parent
	new file:   profiles/default/linux/amd64/13.0/parent
	new file:   profiles/default/linux/amd64/13.0/stable/bindoc/parent
	new file:   profiles/default/linux/amd64/13.0/stable/parent
	deleted:    profiles/default/linux/amd64/devel/parent
	deleted:    profiles/default/linux/amd64/stable/bindoc/parent
	deleted:    profiles/default/linux/amd64/stable/parent
	new file:   profiles/default/linux/x86/13.0/devel/parent
	new file:   profiles/default/linux/x86/13.0/parent
	new file:   profiles/default/linux/x86/13.0/stable/bindoc/parent
	new file:   profiles/default/linux/x86/13.0/stable/parent
	deleted:    profiles/default/linux/x86/devel/parent
	deleted:    profiles/default/linux/x86/stable/bindoc/parent
	deleted:    profiles/default/linux/x86/stable/parent
	modified:   profiles/prefix/linux-standalone/amd64/parent
	modified:   profiles/prefix/linux-standalone/x86/parent
	modified:   profiles/prefix/linux/amd64/parent
	modified:   profiles/prefix/linux/x86/parent
	modified:   profiles/profiles.desc
 Changes to be committed:
	modified:   profiles/default/linux/amd64/13.0/devel/parent
	modified:   profiles/default/linux/amd64/13.0/parent
	modified:   profiles/default/linux/amd64/13.0/stable/bindoc/parent
	modified:   profiles/default/linux/amd64/13.0/stable/parent
	modified:   profiles/default/linux/amd64/parent
	modified:   profiles/default/linux/parent
	modified:   profiles/default/linux/x86/13.0/devel/parent
	modified:   profiles/default/linux/x86/13.0/parent
	modified:   profiles/default/linux/x86/13.0/stable/bindoc/parent
	modified:   profiles/default/linux/x86/13.0/stable/parent
	modified:   profiles/default/linux/x86/parent
	modified:   profiles/default/parent
	modified:   profiles/prefix/linux-standalone/amd64/devel/parent
	modified:   profiles/prefix/linux-standalone/amd64/parent
	modified:   profiles/prefix/linux-standalone/amd64/stable/bindoc/parent
	modified:   profiles/prefix/linux-standalone/amd64/stable/parent
	modified:   profiles/prefix/linux-standalone/parent
	modified:   profiles/prefix/linux-standalone/x86/devel/parent
	modified:   profiles/prefix/linux-standalone/x86/parent
	modified:   profiles/prefix/linux-standalone/x86/stable/bindoc/parent
	modified:   profiles/prefix/linux-standalone/x86/stable/parent
	modified:   profiles/prefix/linux/amd64/devel/parent
	modified:   profiles/prefix/linux/amd64/parent
	modified:   profiles/prefix/linux/amd64/stable/bindoc/parent
	modified:   profiles/prefix/linux/amd64/stable/parent
	modified:   profiles/prefix/linux/parent
	modified:   profiles/prefix/linux/x86/devel/parent
	modified:   profiles/prefix/linux/x86/parent
	modified:   profiles/prefix/linux/x86/stable/bindoc/parent
	modified:   profiles/prefix/linux/x86/stable/parent
	modified:   profiles/prefix/parent
	modified:   profiles/thirdpartymirrors
 Changes to be committed:
	modified:   profiles/default/linux/amd64/13.0/devel/parent
	modified:   profiles/default/linux/amd64/13.0/stable/parent
	modified:   profiles/default/linux/x86/13.0/devel/parent
	modified:   profiles/default/linux/x86/13.0/stable/parent
 Changes to be committed:
	modified:   metadata/layout.conf
	new file:   profiles/arch.list
	modified:   profiles/default/linux/x86/13.0/parent
	new file:   profiles/eapi
	new file:   profiles/features/bindoc/eapi
	new file:   profiles/prefix/eapi
	new file:   profiles/releases/devel/eapi
	new file:   profiles/releases/stable/eapi
 Changes to be committed:
	modified:   profiles/releases/devel/package.keywords
	modified:   profiles/releases/stable/package.keywords
 Changes to be committed:
	modified:   profiles/arch.list
	modified:   profiles/profiles.desc
	modified:   profiles/thirdpartymirrors
@Alessandro-Barbieri
Copy link
Contributor Author

How I can remove the duplicate commits?

@kiwifb
Copy link
Collaborator

kiwifb commented Jun 2, 2017

I don't really know, but it is alright I'll squash the commits anyway. Will review a bit later when I have more time.

 Changes to be committed:
	modified:   README.rst
@kiwifb
Copy link
Collaborator

kiwifb commented Jun 7, 2017

Sorry, I haven't made much time to review this yet. I will do when I can.

@kiwifb
Copy link
Collaborator

kiwifb commented Jun 12, 2017

OK, I had a first look at things. I am not sure about this, I don't think many other projects offer profiles and I am starting to see why. You are reducing the number of version of sage supported, not necessarily a bad thing, but it should be explicit.
I would have preferred if profile was proposed as an alternative rather the only way of getting the settings. It should be possible to re-add the method about linking files by just pointing to different files. Although it is quite annoying in that the new version lose the ::sage-on-gentoo bits for some packages. I don't believe masking packages from the main tree is a good solution (especially if you bring a different overlay with competing ebuilds).
It is also unclear what impact it will have on my development workflow.
It is also clear that if you want to keep your current profile and add the sage-on-gentoo one to it, it is more work.
At least, unlike what I feared, an hybrid profile doesn't need a lot of maintenance (as in "you don't need to recreate it for upgrades"). That's a neutral point for it (not better, not worse).

@Alessandro-Barbieri
Copy link
Contributor Author

Alessandro-Barbieri commented Jun 12, 2017

OK, I had a first look at things. I am not sure about this, I don't think many other projects offer profiles and I am starting to see why.

The only other overlay with profiles that I know is the bentoo overlay
This overlay, unlike the others, doesn't provide only ebuilds but require additional setup in order to work

You are reducing the number of version of sage supported, not necessarily a bad thing, but it should be explicit.

I can readd them but in a profile for every version (I have to change the naming then)

I would have preferred if profile was proposed as an alternative rather the only way of getting the settings. It should be possible to re-add the method about linking files by just pointing to different files.

I can restore the files deleted as symlinks or list the 1:1 correspondent new file

Although it is quite annoying in that the new version lose the ::sage-on-gentoo bits for some packages. I don't believe masking packages from the main tree is a good solution (especially if you bring a different overlay with competing ebuilds).

I had to remove the explicit :: because is an illegal syntax for this kind of files

It is also unclear what impact it will have on my development workflow.

You will have more granularity, for example: you can add specific masking/useflags/keywording/unmasking for a future ppc64 profile that will affect only that profile

It is also clear that if you want to keep your current profile and add the sage-on-gentoo one to it, it is more work.

I don't think is a lot of work to do (if you want to keep eselect profile working) otherwise a faster method is to unlink /etc/portage/make.profile and replace it wit a text file containing, for example:

gentoo:hardened/linux/amd64
sage-on-gentoo:default/linux/amd64/13.0/stable/bindoc

 Changes to be committed:
	modified:   profiles/releases/devel/package.keywords
@kiwifb
Copy link
Collaborator

kiwifb commented Jun 13, 2017

The bit about ppc64 is interesting. Lots of keywords are just missing, and some useflags are masked (ecls for example). However I won't have access to that hardware forever. By the end of the year I am expecting to be ppc64-less and end that adventure then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants