All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Make source code browsable locally - devtool srctree
@ 2017-07-07  5:32 Tobias Hagelborn
  2017-07-07  5:32 ` [PATCH v2 1/2] srctree.bbclass: Download sourcecode and make it searchable Tobias Hagelborn
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Tobias Hagelborn @ 2017-07-07  5:32 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tobias Hagelborn

UPDATE v2:
- Rebased on latest Poky
- Fixed issue with bad paths
- Dirname based on $PN

In our organization, there is a demand to be able download source code for searching.
With the use of sstate-cache this has been challenge. Also, the source is not gathered
but rather spread in a larger directory structure together with build output.
There are probably others that also want to be able to do the same.

This addition does:
* Force download of all source via the srctree_all task
* Symlink the source together in a separate directory structure for easier search without
  the risk of matching with build output.

This is achived with a new class srctree.bbclass that implements the needed tasks and
a devtool command srctree which offers a convenience command to set up source for 
a recipe and it's dependencies.

There is also a way of organising the package source code in your own way.
This is done by implementing a custom dir generation function and assign to SRCTREE_PN_PATH
in a custom class and set SRCTREE_EXTENSION in a configuration file.


Tobias Hagelborn (2):
  srctree.bbclass: Download sourcecode and make it searchable
  devtool: srctree: New command for setting up browsable source-code

 meta/classes/srctree.bbclass   | 90 ++++++++++++++++++++++++++++++++++++++++++
 scripts/lib/devtool/srctree.py | 87 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 177 insertions(+)
 create mode 100644 meta/classes/srctree.bbclass
 create mode 100644 scripts/lib/devtool/srctree.py

-- 
2.1.4



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-12-13 10:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-07  5:32 [PATCH v2 0/2] Make source code browsable locally - devtool srctree Tobias Hagelborn
2017-07-07  5:32 ` [PATCH v2 1/2] srctree.bbclass: Download sourcecode and make it searchable Tobias Hagelborn
2017-07-07  5:32 ` [PATCH v2 2/2] devtool: srctree: New command for setting up browsable source-code Tobias Hagelborn
2017-08-30  9:03 ` [PATCH v2 0/2] Make source code browsable locally - devtool srctree Tobias Hagelborn
2017-08-30 23:16   ` Andre McCurdy
2017-08-31  6:32     ` Peter Kjellerstedt
2017-08-31 20:10       ` Andre McCurdy
2017-09-01 12:00         ` Peter Kjellerstedt
2017-09-05 12:10           ` Randy MacLeod
2017-12-13 10:32             ` Tobias Hagelborn

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.