I think the idea of a meta distro on top of a stable base is the way to go, let people choose just what they want on bleeding edge. I like my kernel, gcc, and perl solid, sometimes I want firefox's beta's but that doesn't mean I want the rest of the system like that. At some point gentoo's ~arch became more stable that stable, this needs to end. Even if it means making stable a bit more unstable. I'd like to see more people running stable systems.
~arch is going to be aimed more at things that are stable enough, and pending stable. It's going to become more unstable than it is in a sense because I'm not afraid to hardmask stuff that was ~arch and is found to be broken. I'm also not afraid to release slightly broken stuff into ~arch, for example I'll release a new git into ~arch without an update noperl patch which means using -perl won't work. I won't release completely broken or overtly buggy things into ~arch though, I'm just not afraid to release with a missing patch (set) as long as it'll build and work in most cases and update later.
I've decided on a policy for stabilizing the kernel, first of regen2's kernel is vanilla-sources, if you're running another sources this doesn't apply. I will stabilize the previous kernel when the new major version is released so I will stabilize 2.6.28.x when 2.6.29 comes out, after that I will stabilize each new kernel a few days after it hits the tree (actually I may not wait), since the kernel's development model makes it highly unlikely that regressions will be introduced that late in the cycle. I may use a similar update scheme for other packages but it will be a package by package basis. But likely once a major version moves to stable it will be trivial to move new minor versions to stable.
I want to know what people use? what should be stable in regen2. 2 things I won't stabilize right now are qt-4.5 and kde-4.2. They work well enough but have too many bugs upstream, imho (should a kde developer look at this feel free to look at my buglist on your bug tracker, prtscrn must work before I'll mark kde stable, but hey at least dpms works with screensaver now). Anything else goes what do you use/need that's in ~arch and has been there for a long time. feel free to mention in comments, the dev list or the Bug tracker
Mar 24, 2009
Mar 23, 2009
Regen2 0.9.1.0 soon
Last night I decided I'd be rolling out the first release of Regen2 in the first week of April.
So as I'm sure everyone knows version are arbitrary they mean nothing... well ours are going to mean something. The first 2 numbers are the year, so 20(0.9).1.0. the Third number is the quarter, we are going to be mass stabilizing system once per quarter. I'm not sure that this will include new profiles. 4rth number is kinda arbitrary at this point, I'm not sure how/if I want to use it, opinions welcome. since releases will be 'stable' I could use 0 as kind of an alpha, first release. 1 as beta, 2 as rc, and 3 as final. I could also do a 0-alpha1, 0-beta1, etc. and when stage4's and other stuff are rolled out use the version number to denote updated non-system software. In other words I could do releases each month of say kde in stage4's but I wouldn't change system more than once a quarter.
So far my list of packages that'll be marked stable include.
gcc-4.3.3(maybe r1)
glibc-2.9_20081201-r2
openrc-0.4.3-r1
baselayout-2.0.0-r2
git-1.6.2.1
perl-5.10.0
I'll have to spend the next few days figuring out the rest.
I'm debating also on whether I'm locking down major or minor versions. meaning I might consider stabilizing gcc-4.3.4 in the middle of this quarter but not gcc-4.4.
I'm open to opinions on anything. This may be a dictatorship, but I still don't mind hearing from people not me, as with enough eyes all bugs are shallow.
So as I'm sure everyone knows version are arbitrary they mean nothing... well ours are going to mean something. The first 2 numbers are the year, so 20(0.9).1.0. the Third number is the quarter, we are going to be mass stabilizing system once per quarter. I'm not sure that this will include new profiles. 4rth number is kinda arbitrary at this point, I'm not sure how/if I want to use it, opinions welcome. since releases will be 'stable' I could use 0 as kind of an alpha, first release. 1 as beta, 2 as rc, and 3 as final. I could also do a 0-alpha1, 0-beta1, etc. and when stage4's and other stuff are rolled out use the version number to denote updated non-system software. In other words I could do releases each month of say kde in stage4's but I wouldn't change system more than once a quarter.
So far my list of packages that'll be marked stable include.
gcc-4.3.3(maybe r1)
glibc-2.9_20081201-r2
openrc-0.4.3-r1
baselayout-2.0.0-r2
git-1.6.2.1
perl-5.10.0
I'll have to spend the next few days figuring out the rest.
I'm debating also on whether I'm locking down major or minor versions. meaning I might consider stabilizing gcc-4.3.4 in the middle of this quarter but not gcc-4.4.
I'm open to opinions on anything. This may be a dictatorship, but I still don't mind hearing from people not me, as with enough eyes all bugs are shallow.
Mar 18, 2009
postgresql initial setup (users and databases)
This guide assumes that you've managed to install and start the postgres server. I'm ignoring these because they are well documented in several places, probably including your distribution, however, what to do next isn't.
first you need to connect to the postgres database with psql as postgres, on gentoo* distributions you must be in the postgres group to do this. In the event this doesn't work you may have to su to the postgres unix user account somehow and run psql from there.
you now have connected to what is essentially the 'root' user for postgres. as with all 'super user' accounts be careful and know what you are doing. also, as with all 'super user' accounts you don't normally want to run as them, so we need to create another user. I recommend creating the user with the same name as whatever shell account you may be connecting to it from (if applicable) because then you don't have to specify the username when typing psql.
next you need to give the user a database. like the user account if you make it the same name as the shell account you won't have to pass it to psql.
now you're done with the setting up your users account so quit psql by tying
first you need to connect to the postgres database with psql as postgres, on gentoo* distributions you must be in the postgres group to do this. In the event this doesn't work you may have to su to the postgres unix user account somehow and run psql from there.
psql postgres postgresyou now have connected to what is essentially the 'root' user for postgres. as with all 'super user' accounts be careful and know what you are doing. also, as with all 'super user' accounts you don't normally want to run as them, so we need to create another user. I recommend creating the user with the same name as whatever shell account you may be connecting to it from (if applicable) because then you don't have to specify the username when typing psql.
CREATE USER xenoterracide WITH PASSWORD 'YeahLikeIdTellYou'; next you need to give the user a database. like the user account if you make it the same name as the shell account you won't have to pass it to psql.
CREATE DATABASE xenoterracide WITH OWNER xenoterracide;now you're done with the setting up your users account so quit psql by tying
\q at the prompt. now you can simply log in from your users shell by typing psql and SQL-ing away.
Labels:
database,
guide,
install,
postgresql
Mar 12, 2009
Tree hasn't been updated - why
So 2 days ago, when I went to sync to gentoo I didn't get any updates. I'm not really sure why as the process seemed to go alright. It could have something to do with the next bit.
My System appeared to have been compromised. Syslog-ng was disabled and all logs post dec 30 2008 were removed. So i've spent the better part of yesterday/today reinstalling my system. Tree should be synced and merged tonight.
My System appeared to have been compromised. Syslog-ng was disabled and all logs post dec 30 2008 were removed. So i've spent the better part of yesterday/today reinstalling my system. Tree should be synced and merged tonight.
Mar 7, 2009
SYNC_METHOD
I'm going to be pushing out an new feature to portage today, since testing has gone well.
SYNC_METHOD is a new portage variable, I've also gone to the trouble of defining it in make.globals. The default for Regen2. is git, however, rsync and cvs have also been defined although not tested.
the main benefit of SYNC_METHOD is to use one way of detecting the program you should use to detect the tree. previous variations were problematic, as rsync does not have a directory like .git and .git supports the rsync:// protocol.
I've added these defaults to make.globals
# Default sync method
SYNC_METHOD="git"
# Default sync mirror
SYNC="git://github.com/regen2/portage.git"
# default git method specific settings
PORTAGE_GIT_METHOD="checkout"
PORTAGE_GIT_REMOTE="origin/regen2.org"
you may of course override them with make.conf.
changes will officially be in portage-2.2_rc23-r3.
SYNC_METHOD is a new portage variable, I've also gone to the trouble of defining it in make.globals. The default for Regen2. is git, however, rsync and cvs have also been defined although not tested.
the main benefit of SYNC_METHOD is to use one way of detecting the program you should use to detect the tree. previous variations were problematic, as rsync does not have a directory like .git and .git supports the rsync:// protocol.
I've added these defaults to make.globals
# Default sync method
SYNC_METHOD="git"
# Default sync mirror
SYNC="git://github.com/regen2/portage.git"
# default git method specific settings
PORTAGE_GIT_METHOD="checkout"
PORTAGE_GIT_REMOTE="origin/regen2.org"
you may of course override them with make.conf.
changes will officially be in portage-2.2_rc23-r3.
Mar 4, 2009
to Gentoo dev or not to Gentoo dev
So after a little post about Regen2 on the Gentoo-dev mailing list. I've been offered mentoring to become an official gentoo dev. I'm conflicted, my main reason for saying yes would be to learn stuff that I can't learn on my own. But I'm not sure I really want to be a gentoo-dev this means doing these other time consuming things, and I wouldn't be able to do nearly enough from the inside. I still have to proceed with regen2... as I don't believe gentoo (in spirit) can be saved from within. So should I work to become an offical gentoo dev?
Feb 22, 2009
regen2 maintaining it's own openrc
So openrc was updated recently, and I noticed it, I decided it was time to find out why drobbins had created his own version. so I viewed them, ultimately I decided that drobbins had made too many changes but the gentoo ebuild had its own issues. So I modified the Gentoo ebuild to use EAPI 2, removed all of the live ebuild code that shouldn't be in it, updated the branding, and we're ready to rock.
Feb 21, 2009
split package.mask
There's been a problem with ${PORTDIR}/profiles/package.mask since I added sunrise, I didn't realize at the time the problem wouldn't be adding atoms, it would be keeping track of when they should be removed. I've decided that the best way to do it is to use portages 'directory concatenation' feature, I turned package.mask into a directory, it now contains a file for each overlay that has a package.mask, and one for gentoo.org and regen2.org. This will make it much easier to keep track of removals. They originals are being merged in from a package.mask 'overlay' on regen2's github account. Let me know if anything is now masked that shouldn't be or unmasked that shouldn't be.
merged java-overlay
Java in Gentoo is horribly out of date, and from what I've seen of the java overlay, it doesn't improve the situation much, but it's still better than without it. I've merged it into regen2.org, since this was I think the most painful merge since the first I ever did, I may have made mistakes on some ebuilds, let me know if you experience problems.
Feb 19, 2009
USE="experimental-git" sys-apps/portage
drobbins recent tip made me think, that maybe I should point out that his solution to the problem is an annoying work around. I had this problem for a while, it was caused by my having autocrlf = input in my .gitconfig settings. Several people have told me that they have this problem without changing their crlf settings for git. After a while I decided that Funtoo/Gentoo's git handling patches were incomplete at best and unfriendly at worst. So I wrote a patch that brings complete git handling to portage.
Why is it experimental? well it hasn't been officially accepted into portage, and as far as I know I'm the only one using it. One of the reason's it's not officially accepted is I haven't documented it.
WARNING: enabling it will cause auto git detection to fail, so if you don't finish setting it up portage will default to rsync.
So first you need to be using my regen2 tree, or get the ebuild and the patch from my tree, and enable the experimental-git flag for sys-apps/portage.
Now, like all the other protocols portage supports you need to set the SYNC variable in /etc/make.conf.
the first 6 characters need to be git:// for git to work.
if you don't already have a git repository then sync will clone the repository at this url, in fact you may need to delete your portage and do a fresh clone for things to work in certain situations. I never discerned the reason for this.
now you need to set your method the most reliable, yet slowest is checkout.
I believe this method will never experience the problem that drobbins was referring to.
for checkout you also need to set the remote branch you want to run off.
The final method available is merge, it works similar to the current pull behavior of portage, except it will actually merge from whatever remote you have specified into whatever local you have specified.
all methods use git remote update to avoid problems figuring out where to get updates from. I had problems with git knowing what to do with pull, when my origin was my personal repo on github and where I really needed to be updating from was funtoo not origin.
WARNING: git-experimental will probably be where I merge patches such as the upcoming manifest patch.
Why is it experimental? well it hasn't been officially accepted into portage, and as far as I know I'm the only one using it. One of the reason's it's not officially accepted is I haven't documented it.
WARNING: enabling it will cause auto git detection to fail, so if you don't finish setting it up portage will default to rsync.
So first you need to be using my regen2 tree, or get the ebuild and the patch from my tree, and enable the experimental-git flag for sys-apps/portage.
Now, like all the other protocols portage supports you need to set the SYNC variable in /etc/make.conf.
SYNC="git://github.com/regen2/portage.git"the first 6 characters need to be git:// for git to work.
if you don't already have a git repository then sync will clone the repository at this url, in fact you may need to delete your portage and do a fresh clone for things to work in certain situations. I never discerned the reason for this.
now you need to set your method the most reliable, yet slowest is checkout.
PORTAGE_GIT_METHOD="checkout"I believe this method will never experience the problem that drobbins was referring to.
for checkout you also need to set the remote branch you want to run off.
PORTAGE_GIT_REMOTE="origin/regen2.org" changing this variable and resyncing will allow you to change branches. checkout is even immune to upstreams forced updates, which is why I prefer to use it myself as sometimes I force updates on my development branch.PORTAGE_GIT_LOCAL="regen2.org" is also a valid variable, however checkout doesn't use it. It's used by the methods rebase, which will run the git rebase command, this is recommended for people who don't run their own remote repo yet have there own custom git patches.The final method available is merge, it works similar to the current pull behavior of portage, except it will actually merge from whatever remote you have specified into whatever local you have specified.
all methods use git remote update to avoid problems figuring out where to get updates from. I had problems with git knowing what to do with pull, when my origin was my personal repo on github and where I really needed to be updating from was funtoo not origin.
WARNING: git-experimental will probably be where I merge patches such as the upcoming manifest patch.
Subscribe to:
Posts (Atom)