* [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch @ 2008-12-03 16:46 Leon Woestenberg 2008-12-03 17:00 ` Chris Larson 2009-01-31 19:36 ` Holger Freyther 0 siblings, 2 replies; 7+ messages in thread From: Leon Woestenberg @ 2008-12-03 16:46 UTC (permalink / raw) To: openembedded-devel Hello, during maintenance of our local set of OE patches, it would be handy not having to copy patches back into the repository. i.e. the patch fetcher could instead of copy the patch to the work directory, soft-link from the repo. Does this make sense? Regards, -- Leon ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch 2008-12-03 16:46 [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch Leon Woestenberg @ 2008-12-03 17:00 ` Chris Larson 2008-12-03 17:51 ` Tom Rini 2009-01-31 19:36 ` Holger Freyther 1 sibling, 1 reply; 7+ messages in thread From: Chris Larson @ 2008-12-03 17:00 UTC (permalink / raw) To: openembedded-devel On Wed, Dec 3, 2008 at 9:46 AM, Leon Woestenberg <leon.woestenberg@gmail.com> wrote: > Hello, > > during maintenance of our local set of OE patches, it would be handy > not having to copy patches back into the repository. > > i.e. the patch fetcher could instead of copy the patch to the work > directory, soft-link from the repo. I can see why you want it. The file:// fetcher copies everything, not just patches, they aren't fetched differently currently. You could introduce regressions if it were to affect anything but patches, so you'd have to add a special case for uris with patch=1 in the file:// fetcher to link instead of copy, and possibly make it optional via a variable. I take it you do a lot of patch alterations in the workdir to fix problems? -- Chris Larson clarson at kergoth dot com clarson at mvista dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Software Engineer MontaVista Software, Inc. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch 2008-12-03 17:00 ` Chris Larson @ 2008-12-03 17:51 ` Tom Rini 2008-12-03 19:49 ` Khem Raj 2008-12-03 20:00 ` Leon Woestenberg 0 siblings, 2 replies; 7+ messages in thread From: Tom Rini @ 2008-12-03 17:51 UTC (permalink / raw) To: openembedded-devel On Wed, Dec 03, 2008 at 10:00:13AM -0700, Chris Larson wrote: > On Wed, Dec 3, 2008 at 9:46 AM, Leon Woestenberg > <leon.woestenberg@gmail.com> wrote: > > Hello, > > > > during maintenance of our local set of OE patches, it would be handy > > not having to copy patches back into the repository. > > > > i.e. the patch fetcher could instead of copy the patch to the work > > directory, soft-link from the repo. > > I can see why you want it. The file:// fetcher copies everything, > not just patches, they aren't fetched differently currently. You > could introduce regressions if it were to affect anything but patches, > so you'd have to add a special case for uris with patch=1 in the > file:// fetcher to link instead of copy, and possibly make it optional > via a variable. I take it you do a lot of patch alterations in the > workdir to fix problems? A lot? No. But for everyone working from a fixed OE snapshot, this would be a nice timesaver. Heck, soft-linking all of the file URIs would be nice here. Perhaps a variable to control doing it always (default to off) ? -- Tom Rini ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch 2008-12-03 17:51 ` Tom Rini @ 2008-12-03 19:49 ` Khem Raj 2008-12-03 20:00 ` Leon Woestenberg 1 sibling, 0 replies; 7+ messages in thread From: Khem Raj @ 2008-12-03 19:49 UTC (permalink / raw) To: openembedded-devel; +Cc: openembedded-devel On Wed, Dec 3, 2008 at 9:51 AM, Tom Rini <trini@kernel.crashing.org> wrote: > On Wed, Dec 03, 2008 at 10:00:13AM -0700, Chris Larson wrote: >> On Wed, Dec 3, 2008 at 9:46 AM, Leon Woestenberg >> <leon.woestenberg@gmail.com> wrote: >> > Hello, >> > >> > during maintenance of our local set of OE patches, it would be handy >> > not having to copy patches back into the repository. >> > >> > i.e. the patch fetcher could instead of copy the patch to the work >> > directory, soft-link from the repo. >> >> I can see why you want it. The file:// fetcher copies everything, >> not just patches, they aren't fetched differently currently. You >> could introduce regressions if it were to affect anything but patches, >> so you'd have to add a special case for uris with patch=1 in the >> file:// fetcher to link instead of copy, and possibly make it optional >> via a variable. I take it you do a lot of patch alterations in the >> workdir to fix problems? > > A lot? No. But for everyone working from a fixed OE snapshot, this > would be a nice timesaver. Heck, soft-linking all of the file URIs > would be nice here. Perhaps a variable to control doing it always > (default to off) ? We use quilt to manage (push/pop) patches. We could use QUILT_PATCHES=<dir where patches are found> in .quiltrc file.One problem I see is that sometimes we use patches from more than one location. Sometimes we develop patches on top and how do we decide where this patch is put if we have more than one locations for the patches. > > -- > Tom Rini > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch 2008-12-03 17:51 ` Tom Rini 2008-12-03 19:49 ` Khem Raj @ 2008-12-03 20:00 ` Leon Woestenberg 2008-12-04 16:40 ` Robert Schuster 1 sibling, 1 reply; 7+ messages in thread From: Leon Woestenberg @ 2008-12-03 20:00 UTC (permalink / raw) To: openembedded-devel; +Cc: openembedded-devel Hello, On Wed, Dec 3, 2008 at 6:51 PM, Tom Rini <trini@kernel.crashing.org> wrote: > On Wed, Dec 03, 2008 at 10:00:13AM -0700, Chris Larson wrote: >> On Wed, Dec 3, 2008 at 9:46 AM, Leon Woestenberg >> <leon.woestenberg@gmail.com> wrote: >> >> I can see why you want it. The file:// fetcher copies everything, >> not just patches, they aren't fetched differently currently. You >> could introduce regressions if it were to affect anything but patches, >> so you'd have to add a special case for uris with patch=1 in the >> file:// fetcher to link instead of copy, and possibly make it optional >> via a variable. I take it you do a lot of patch alterations in the >> workdir to fix problems? > > A lot? No. But for everyone working from a fixed OE snapshot, this > would be a nice timesaver. Heck, soft-linking all of the file URIs > would be nice here. Perhaps a variable to control doing it always > (default to off) ? > Exactly what I had in mind, for the reasons mentioned. I only care about the local patches. Edit source, quilt refresh, and my checkout has a modified patch. Regards, -- Leon ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch 2008-12-03 20:00 ` Leon Woestenberg @ 2008-12-04 16:40 ` Robert Schuster 0 siblings, 0 replies; 7+ messages in thread From: Robert Schuster @ 2008-12-04 16:40 UTC (permalink / raw) To: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 383 bytes --] Hi, Leon Woestenberg schrieb: > Exactly what I had in mind, for the reasons mentioned. > > I only care about the local patches. > > Edit source, quilt refresh, and my checkout has a modified patch. I like the idea, especially since I had to redo a few patch because I forgot to copy them back to the checkout dir before doing "bitbake -c rebuild". Regards Robert [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 268 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch 2008-12-03 16:46 [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch Leon Woestenberg 2008-12-03 17:00 ` Chris Larson @ 2009-01-31 19:36 ` Holger Freyther 1 sibling, 0 replies; 7+ messages in thread From: Holger Freyther @ 2009-01-31 19:36 UTC (permalink / raw) To: openembedded-devel On Wednesday 03 December 2008 17:46:04 Leon Woestenberg wrote: > Hello, > > during maintenance of our local set of OE patches, it would be handy > not having to copy patches back into the repository. > > i.e. the patch fetcher could instead of copy the patch to the work > directory, soft-link from the repo. > > Does this make sense? Yes it does, but I'm also toying with the idea of turning everything into a git checkout (using git am for the patches...)... z. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-01-31 19:47 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-12-03 16:46 [RFC Wild Ideas Department] create soft-links from <pkg>/<src>/patches/some_local.patch to <oe.git>/packages/<pkg>/files/some_local.patch Leon Woestenberg 2008-12-03 17:00 ` Chris Larson 2008-12-03 17:51 ` Tom Rini 2008-12-03 19:49 ` Khem Raj 2008-12-03 20:00 ` Leon Woestenberg 2008-12-04 16:40 ` Robert Schuster 2009-01-31 19:36 ` Holger Freyther
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.