renaming packages/ to recipes/
Hi,
I keep trying to teach people the difference between recipes (what's in OE) and packages (what you install on the target) and keep getting reactions like "ok, but why is the dir called packages?", which are completely valid.
Proposal:
mv packages recipes ; git commit .
While it would make setting up OE more intuitive, it does mean that people have to adjust local.conf and distro people need to update their installation instructions.
I have some other intrusive proposals about shuffling things around in TMP a bit (and out of TMP as well), standardizing on source locations for source_distribute and sourcepkg, etc, but let's start with this easy one.
The main motivation for all this is to make the next stable branch easier to grasp for newbies than the current OE structure.
regards,
Koen
Quoted 20 lines · Koen Kooi
Hi,
I keep trying to teach people the difference between recipes (what's in OE) and packages (what you install on the target) and keep getting reactions like "ok, but why is the dir called packages?", which are completely valid.
Proposal:
mv packages recipes ; git commit .
While it would make setting up OE more intuitive, it does mean that people have to adjust local.conf and distro people need to update their installation instructions.
I have some other intrusive proposals about shuffling things around in TMP a bit (and out of TMP as well), standardizing on source locations for
source_distributeand sourcepkg, etc, but let's start with this easy one.
Quoted 6 lines
The main motivation for all this is to make the next stable branch easier to grasp for newbies than the current OE structure.
regards,
Koen
+1 from me.
Bye Henning
Quoted 4 lines · Koen Kooi
I have some other intrusive proposals about shuffling things around in TMP a bit (and out of TMP as well), standardizing on source locations for
source_distributeand sourcepkg, etc, but let's start with this easy one.
What I meant to say is:
Let's bunch up all the proposals that get approved so we can have a flag day in a week or 3 to minimize documentation churn.
regards,
Koen
Quoted 11 lines · Koen Kooi
Quoted 4 lines · Koen Kooi
I have some other intrusive proposals about shuffling things around in TMP a bit (and out of TMP as well), standardizing on source locations for
source_distributeand sourcepkg, etc, but let's start with this easy one.What I meant to say is:
Let's bunch up all the proposals that get approved so we can have a flag day in a week or 3 to minimize documentation churn.
Good timing; I was just composing a separate RFC email, but instead I'll add my thoughts to this thread, since what I will propose is very similar to the "flag day" idea.
I'd like to propose that we adopt a monthly "Big Change Window" (insert your favorite term instead, if you wish). Many organizations do this to manage changes to shared branches. The idea is that non-critical, but potentially disruptive, changes are all merged to the dev branch during standard time-periods (e.g. the first week of each calendar month).
This would set expectations for all users and even the core developers; don't sync during these periods if you aren't ready, or perhaps some folks might make the decision about working on a branch or not based on the proximity of the Big Change Window.
(BTW, +1 on the renaming of packages to recipes)
-Mike
Merge windows, was: Re: [RFC] renaming packages/ to recipes/
Quoted 5 lines · Mike (mwester)
I'd like to propose that we adopt a monthly "Big Change Window" (insert your favorite term instead, if you wish). Many organizations do this to manage changes to shared branches. The idea is that non-critical, but potentially disruptive, changes are all merged to the dev branch during standard time-periods (e.g. the first week of each calendar month).
I like the idea, but I'd like to change it slightly:
All disruptive changes that have been tested and review get merged during this window.
I can see it ending up as "commit random shit window", which we do not want.
What are your thought on keeping a document that lists the (planned) merge time of disruptive branches together with a short description of their aim and impact?
Related to that: a NEWS file would be neat as well, but that's only needed when we start doing releases based on the stable branch
regards,
Koen
Re: Merge windows, was: Re: [RFC] renaming packages/ to recipes/
Sounds good for me on a stable branch, not so much on a development branch. Or we might as well go with org.openembedded.{stable|testing| unstable}...
Signature · 1 line
:M:
Re: Merge windows, was: Re: [RFC] renaming packages/ to recipes/
Quoted 2 lines · Michael 'Mickey' Lauer
Sounds good for me on a stable branch, not so much on a development branch.
A perptually broken development branch is no good. The current .dev is unbuildable literally every other day, so I'm not a fan of keeping .dev the free-for-all it is now. And Mikes proposal was holding off *disruptive* changes, not *all* changes.
regards,
Koen
Re: Merge windows, was: Re: [RFC] renaming packages/ to recipes/
Quoted 8 lines · Koen Kooi
Quoted 2 lines · Michael 'Mickey' Lauer
Sounds good for me on a stable branch, not so much on a development branch.
A perptually broken development branch is no good. The current .dev is unbuildable literally every other day, so I'm not a fan of keeping .dev the free-for-all it is now.
And Mikes proposal was holding off *disruptive* changes, not *all* changes.
[...]
Yes from my POV it does make sense and it could also help derivatives to plan their development according to it.
For example if you have a distro that is based on dev branch you should avoid merging it at start of mounth since it has high risk to be broken or with still unknown bugs.
With GIT it is quite easy to hold changes for a while and merge them all together when done. We could even build a "oe-next" try that merges automatically from people trees and catch conflicts. This could make whole merging easier when next mounth arrives ;-)
Cheers,
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: Merge windows, was: Re: [RFC] renaming packages/ to recipes/
In reply to Koen KooiHello!
Quoted 2 lines
Related to that: a NEWS file would be neat as well, but that's only needed when we start doing releases based on the stable branch
Look at FreeBSD UPDATING file too:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/UPDATING?rev=1.780;content-type=text%2Fplain
This file describes big changes in ports to warn users. It recommended to read this file before doing upgrade. We can use this idea too.
Signature · 1 line
Yuri Bushmelev
Quoted 6 lines · Koen Kooi
Hi,
I keep trying to teach people the difference between recipes (what's in OE) and packages (what you install on the target) and keep getting reactions like "ok, but why is the dir called packages?", which are completely valid.
Quoted 7 lines
Proposal:
mv packages recipes ; git commit .
While it would make setting up OE more intuitive, it does mean that people have to adjust local.conf and distro people need to update their installation instructions.
+1 - the whole directory structure needs some revamping. There are also some inconsistencies with meta, images and tasks directories. But it is good to start with small and easy items first.
Quoted 3 lines
I have some other intrusive proposals about shuffling things around in TMP a bit (and out of TMP as well), standardizing on source locations for
source_distributeand sourcepkg, etc, but let's start with this easy one.
Speaking of TMP and outside of it - does it make sense to have DEPLOY outside of TMP by default in OE? I do it in Arago, but I had to make a small fix in base.bbclass though - see bug #4580.
Signature · 1 line
Denys
Quoted 3 lines · Denys Dmytriyenko
Speaking of TMP and outside of it - does it make sense to have DEPLOY outside of TMP by default in OE? I do it in Arago, but I had to make a small fix in base.bbclass though - see bug #4580.
That's exactly what I'm talking about :) I was thinking of a structure like this:
/OE/org.openembedded.dev # metadate
/OE/conf # local.conf, auto.conf, site.conf
/OE/tmp # work/ stamps/ cache/ rootfs/
/OE/target # ipk,deb,rpm/ images/
/OE/build # staging, cross, pstage packages
/OE/downloads # DL_DIR
That just leaves finding a place for sdk output and things like sourcepkg and source_distribute.
This isn't an RFC yet, since I haven't worked it all out yet, but don't let that stop you from sending in an RFC :)
regards,
Koen
Quoted 4 lines
Speaking of TMP and outside of it - does it make sense to have DEPLOY outside of TMP by default in OE? I do it in Arago, but I had to make a small fix in base.bbclass though - see bug #4580.
+1
Quoted 8 lines · Koen Kooi
Hi,
I keep trying to teach people the difference between recipes (what's in OE) and packages (what you install on the target) and keep getting reactions like "ok, but why is the dir called packages?", which are completely valid.
Proposal:
mv packages recipes ; git commit .
+1
Martyn
Signature · 4 lines
Martyn Welch MEng MPhil MIET (Principal Software Engineer) T:+44(0)1327322748 GE Fanuc Intelligent Platforms Ltd, |Registered in England and Wales Tove Valley Business Park, Towcester, |(3828642) at 100 Barbirolli Square, Northants, NN12 6PF, UK T:+44(0)1327359444 |Manchester,M2 3AB VAT:GB 729849476
Quoted 3 lines · On Wednesday 25 of February 2009 21:21:32 Koen Kooi wrote:
Proposal:
mv packages recipes ; git commit .
+1 from me
My addition to this:
mkdir recipes-broken
git add recipes-broken
git mv recipes/obsolete recipes-broken/obsolete git mv recipes/nonworking recipes-broken/nonworking
As this will allow users to set:
BBFILES = "/somewhere/oe/recipes/"
which is supported by BitBake for years.
Regards,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
Quoted 7 lines · Marcin Juszkiewicz
Quoted 4 lines · On Wednesday 25 of February 2009 21:21:32 Koen Kooi wrote:
Proposal:
mv packages recipes ; git commit .
Quoted 10 lines
+1 from me
My addition to this:
mkdir recipes-broken
git add recipes-broken
git mv recipes/obsolete recipes-broken/obsolete git mv recipes/nonworking recipes-broken/nonworking
I like this idea. But we should add a description file to the recipe on which arch it is broken or why it is obsolete. A package tested and working for arch x can break on arch y easily. E.g. if it uses netlib floating points.
Best regards
Bernhard Guillon
В сообщении от Четверг 26 февраля 2009 Bernhard Guillon написал(a):
Quoted 15 lines
Quoted 5 lines · Marcin Juszkiewicz
Quoted 3 lines · On Wednesday 25 of February 2009 21:21:32 Koen Kooi wrote:
Proposal:
mv packages recipes ; git commit .
Quoted 8 lines
+1 from me
My addition to this:
mkdir recipes-broken
git add recipes-broken
git mv recipes/obsolete recipes-broken/obsolete git mv recipes/nonworking recipes-broken/nonworking
Quoted 4 lines
I like this idea. But we should add a description file to the recipe on which arch it is broken or why it is obsolete.
A package tested and working for arch x can break on arch y easily. E.g. if it uses netlib floating points.
Here is other example from FreeBSD project - MOVED file:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/MOVED?rev=1.1803;content-type=text%2Fplain
It contains information about package movement/removal in ports tree.
Just as example :)
Signature · 1 line
Yuri Bushmelev
Quoted 4 lines · Bernhard Guillon
Quoted 4 lines
mkdir recipes-broken
git add recipes-broken
git mv recipes/obsolete recipes-broken/obsolete git mv recipes/nonworking recipes-broken/nonworking
+1
Quoted 1 line
I like this idea. But we should add a description file to the recipe on which arch it is broken or why it is obsolete.
Oh no, please no. Not yet another file which people will ignore ;-) That is what the commit message and "git log recipes/obsolete/$somepackage" is for.
Quoted 2 lines
I have some other intrusive proposals about shuffling things around in TMP a bit (and out of TMP as well), standardizing on source locations for
source_distributeand sourcepkg, etc, but let's start with this easy one.
+1
bump
Andrea
Quoted 7 lines · Marcin Juszkiewicz
My addition to this:
mkdir recipes-broken
git add recipes-broken
git mv recipes/obsolete recipes-broken/obsolete git mv recipes/nonworking recipes-broken/nonworking
Quoted 5 lines
As this will allow users to set:
BBFILES = "/somewhere/oe/recipes/"
which is supported by BitBake for years.
I'd like to revisit this suggestion from Marcin which came up during the discussion of the packages->recipes renaming. I think the above makes sense and should be committed. I think it would be nice if the folder was named broken-recipes instead of recipes-broken. First of all, it sounds nicer IMHO ;-) but more importantly, this works better with bash-completion.
Reopening discussion for this change.
Quoted 12 lines · Rolf Leggewie
Quoted 11 lines · Marcin Juszkiewicz
My addition to this:
mkdir recipes-broken
git add recipes-broken
git mv recipes/obsolete recipes-broken/obsolete git mv recipes/nonworking recipes-broken/nonworkingAs this will allow users to set:
BBFILES = "/somewhere/oe/recipes/"
Quoted 8 lines
Quoted 1 line
which is supported by BitBake for years.
I'd like to revisit this suggestion from Marcin which came up during the discussion of the
packages->recipesrenaming. I think the above makes sense and should be committed. I think it would be nice if the folder was named broken-recipes instead of recipes-broken. First of all, it sounds nicer IMHO ;-) but more importantly, this works better with bash-completion.
I believe with the collection stuff we don't need to do this kind of move for easier / smaller local.conf files.
I think what we really need to do (in part because I think there's some bitbake changes needed for compelete functionality) we need to bump dev's minimum bitbake and update local.conf.sample and the wiki. Oh, and check with Chris to make sure everything he's got in these areas is in :)
Signature · 1 line
Tom Rini
2009/5/18 Rolf Leggewie <[email protected]>:
Quoted 15 lines
Quoted 8 lines · Marcin Juszkiewicz
My addition to this:
mkdir recipes-broken
git add recipes-broken
git mv recipes/obsolete recipes-broken/obsolete git mv recipes/nonworking recipes-broken/nonworkingQuoted 5 lines
As this will allow users to set:
BBFILES = "/somewhere/oe/recipes/"
which is supported by BitBake for years.
Quoted 7 lines
I'd like to revisit this suggestion from Marcin which came up during the discussion of the
packages->recipesrenaming. I think the above makes sense and should be committed. I think it would be nice if the folder was named broken-recipes instead of recipes-broken. First of all, it sounds nicer IMHO ;-) but more importantly, this works better with bash-completion.Reopening discussion for this change.
I think adding recipes-broken (or broken-recipes) is a bad idea. It is quite possible that a recipe is broken only for some platforms (e.g. because they use an older libc or gcc, or because functionality is not working in the machine specific parts.
In that case I can image we end up in a recipe being shifted around. Not really a good plan.
Unless of course we end up with some good rules on when a recipe should be moved to broken.
If I look at tinderbox I see various recipes that do not build for some archtectures or configurations.
Just my two cents
Frans
Quoted 31 lines · Frans Meulenbroeks
2009/5/18 Rolf Leggewie <[email protected]>:
Quoted 12 lines
Quoted 11 lines · Marcin Juszkiewicz
My addition to this:
mkdir recipes-broken
git add recipes-broken
git mv recipes/obsolete recipes-broken/obsolete git mv recipes/nonworking recipes-broken/nonworkingAs this will allow users to set:
BBFILES = "/somewhere/oe/recipes/"
Quoted 8 lines
Quoted 1 line
which is supported by BitBake for years.
I'd like to revisit this suggestion from Marcin which came up during the discussion of the
packages->recipesrenaming. I think the above makes sense and should be committed. I think it would be nice if the folder was named broken-recipes instead of recipes-broken. First of all, it sounds nicer IMHO ;-) but more importantly, this works better with bash-completion.Reopening discussion for this change.
I think adding recipes-broken (or broken-recipes) is a bad idea. It is quite possible that a recipe is broken only for some platforms (e.g. because they use an older libc or gcc, or because functionality is not working in the machine specific parts.
In that case I can image we end up in a recipe being shifted around. Not really a good plan.
Unless of course we end up with some good rules on when a recipe should be moved to broken.
Quoted 2 lines
If I look at tinderbox I see various recipes that do not build for some archtectures or configurations.
A broken recipes directory sounds like a good idea, but I think it will not work well in practive. My concern is the history will be filled with people miving recipes in and out of the broken directory (for reasons mentioned by Frans)
ow about trying to generate a report from tinderbox that lists broken recipes?
Philip
Quoted 36 lines · Philip Balister
Quoted 33 lines · Frans Meulenbroeks
2009/5/18 Rolf Leggewie <[email protected]>:
Quoted 21 lines
Quoted 7 lines · Marcin Juszkiewicz
My addition to this:
mkdir recipes-broken
git add recipes-broken
git mv recipes/obsolete recipes-broken/obsolete git mv recipes/nonworking recipes-broken/nonworkingQuoted 5 lines
As this will allow users to set:
BBFILES = "/somewhere/oe/recipes/"
which is supported by BitBake for years.
I'd like to revisit this suggestion from Marcin which came up during the discussion of the
packages->recipesrenaming. I think the above makes sense
and should be committed. I think it would be nice if the folder was named
broken-recipes instead of recipes-broken. First of all, it sounds nicer IMHO ;-) but more importantly, this works better with bash-completion.Quoted 1 line
Reopening discussion for this change.
I think adding recipes-broken (or broken-recipes) is a bad idea. It is quite possible that a recipe is broken only for some platforms (e.g. because they use an older libc or gcc, or because functionality is not working in the machine specific parts.
In that case I can image we end up in a recipe being shifted around. Not really a good plan.
Unless of course we end up with some good rules on when a recipe should be moved to broken.Quoted 2 lines
If I look at tinderbox I see various recipes that do not build for some archtectures or configurations.
Quoted 7 lines
A broken recipes directory sounds like a good idea, but I think it will not work well in practive. My concern is the history will be filled with people miving recipes in and out of the broken directory (for reasons mentioned by Frans)
ow about trying to generate a report from tinderbox that lists broken recipes?
Sounds like the coverage matrix I proposed at OEDEM 2006 :)
regards,
Koen
Quoted 2 lines · Frans Meulenbroeks
I think adding recipes-broken (or broken-recipes) is a bad idea. [...]
How is this different from having recipes/nonworking and recipes/obsolete as it currently happens?
more visibility?
Signature · 4 lines
Elena ``of Valhalla'' homepage: http://www.trueelena.org email: [email protected]
2009/5/19 Elena of Valhalla <[email protected]>:
Quoted 5 lines
Quoted 2 lines · Frans Meulenbroeks
I think adding recipes-broken (or broken-recipes) is a bad idea. [...]
Quoted 7 lines
How is this different from having recipes/nonworking and recipes/obsolete as it currently happens?
more visibility?
--
Elena ``of Valhalla''
You have a point.
Then again things in recipes/nonworking and recipes/obsolete are generally considered as very broken.
I would not want the task to repair all packages that are outside these dirs and also not working on some targets/situations.
That is why I mentioned that if we want such a dir, we need a policy on what/when could go in there.
(e.g. by requiring that a move to broken is ack-ed by 2 other devs).
Frans
Hi,
Quoted 3 lines · Koen Kooi
Proposal:
mv packages recipes ; git commit .
+1
Regards
Robert
Hello,
Quoted 2 lines · Koen Kooi
mv packages recipes ; git commit .
if (i < MAX_INT) i++;
Regards,
Signature · 1 line
Leon
Quoted 10 lines · Koen Kooi
Hi,
I keep trying to teach people the difference between recipes (what's in OE) and packages (what you install on the target) and keep getting reactions like "ok, but why is the dir called packages?", which are completely valid.
Proposal:
mv packages recipes ; git commit .
Only positive replies sofar, so when do we want to schedule this commit? My proposal is somewhere in april, since I'm too busy this month with bossaconference and university work to deal with the fallout properly. Also, shall we restructure TMPDIR at the same time?
regards,
Koen
Quoted 8 lines · Koen Kooi
Quoted 7 lines · Koen Kooi
Hi,
I keep trying to teach people the difference between recipes (what's in OE) and packages (what you install on the target) and keep getting reactions like "ok, but why is the dir called packages?", which are completely valid.
Quoted 7 lines
Quoted 3 lines
Proposal:
mv packages recipes ; git commit .
Only positive replies sofar, so when do we want to schedule this commit? My proposal is somewhere in april, since I'm too busy this month with bossaconference and university work to deal with the fallout properly.
Fine with me. Do I have a vote? :)
Quoted 1 line
Also, shall we restructure TMPDIR at the same time?
Yes, lets get that RFC out :) FWIW, I think 'sdk' should be in the same place as the other target oriented stuff. Perhaps target/${host}/sdk/
Signature · 1 line
Tom Rini
Quoted 9 lines · Tom Rini
Quoted 8 lines · Koen Kooi
Quoted 7 lines · Koen Kooi
Hi,
I keep trying to teach people the difference between recipes (what's in OE) and packages (what you install on the target) and keep getting reactions like "ok, but why is the dir called packages?", which are completely valid.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Proposal:
mv packages recipes ; git commit .
Only positive replies sofar, so when do we want to schedule this commit? My proposal is somewhere in april, since I'm too busy this month with bossaconference and university work to deal with the fallout properly.
Fine with me. Do I have a vote? :)
yes :)
Quoted 4 lines
Quoted 1 line
Also, shall we restructure TMPDIR at the same time?
Yes, lets get that RFC out :) FWIW, I think 'sdk' should be in the same place as the other target oriented stuff. Perhaps target/${host}/sdk/
Could you send that RFC as a new thread?
regards,
Koen
Quoted 10 lines · Koen Kooi
Quoted 9 lines · Koen Kooi
Hi,
I keep trying to teach people the difference between recipes (what's in OE) and packages (what you install on the target) and keep getting reactions like "ok, but why is the dir called packages?", which are completely valid.
Proposal:
Quoted 7 lines
Quoted 1 line
mv packages recipes ; git commit .
Only positive replies sofar, so when do we want to schedule this commit? My proposal is somewhere in april, since I'm too busy this month with bossaconference and university work to deal with the fallout properly.
Also, shall we restructure TMPDIR at the same time?
[...]
Let's do it step by step. It is much easier and nicer to our users if they don't have to handle a completely different tree to get theirs work done.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
[...]
Quoted 5 lines
Only positive replies sofar, so when do we want to schedule this commit? My proposal is somewhere in april, since I'm too busy this month with bossaconference and university work to deal with the fallout properly. Also, shall we restructure TMPDIR at the same time?
[...]
Quoted 1 line
Koen
Is there an RFC for reworking TMDIR? I'd love to read it - and even help. I've been poking around on the directory structure & relocation; it would be great to be on the same page with everyone on this.
-r-