From: "Marijn Schouten (hkBst)" <hkBst@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] a feature called "stabilize" wanted
Date: Thu, 18 Mar 2010 13:41:28 +0100 [thread overview]
Message-ID: <201003181341.28658.hkBst@gentoo.org> (raw)
In-Reply-To: <4B976D55.1050801@johannes-kellner.eu>
On Wednesday 10 March 2010 10:58:45 Johannes Kellner wrote:
> Hello List ans anyone!
>
> I'm searching for a feature or an hint how and where to implement it.
>
> The desired feature could be called "stabilize" or "update to stable"
> and would change the selected packages when doing an update (emerge
> -avuND world).
[snip]
> Anyone, could help me? Give me a hint if this would be possible? Any
> hints where in code this could be implemented? I'm programmer,
> professional, so if I get the right hints, will invest spare time in
> this. Also I'll ready to setup and run various tests. But I never before
> worked at portage...
> It might be a good start if the people with the Know-How, will start a
> discussing about this idea, what problems need to be solved, which code
> parts will need an update and so one. Than I could try to get it
> working, but right now, I doesn't even know the right questions.
>
> Best regards,
> - Johannes Kellner
>
At first glance your idea seems very interesting. However the versions you end up with under your system critically depends on the timing between when things go stable and when you perform an update. You could skip past a ~ version that is just about to go stable, because a newer ~ was visible, but if you'd waited just a bit longer with syncing and updating you would have gotten the stable version and no further update would have gotten you the newer ~ version.
If you still wish to implement it anyway, then I would suggest that you need a new keyword modifier to indicate ``highest stable version or if that is not available the highest testing version'' and adapt the visibility code to understand that new keyword modifier and make the appropriate versions visible. I don't actually know about portage internals, but this is how I imagine it should work.
Marijn
prev parent reply other threads:[~2010-03-18 12:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-10 9:58 [gentoo-portage-dev] a feature called "stabilize" wanted Johannes Kellner
2010-03-09 22:28 ` Alistair Bush
2010-03-18 12:41 ` Marijn Schouten (hkBst) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201003181341.28658.hkBst@gentoo.org \
--to=hkbst@gentoo.org \
--cc=gentoo-portage-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox