All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tobias Hagelborn <tobias.hagelborn@axis.com>
To: Tobias Hagelborn <tobiasha@axis.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2 0/2] Make source code browsable locally - devtool srctree
Date: Wed, 30 Aug 2017 11:03:38 +0200	[thread overview]
Message-ID: <2d1bb10c-e13c-79d0-4e0e-bd5aa5d99a42@axis.com> (raw)
In-Reply-To: <1499405543-3127-1-git-send-email-tobiasha@axis.com>

On 07/07/2017 07:32 AM, Tobias Hagelborn wrote:
> 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
> 

Hi

I did not receive any feedback on this one.

We do make good use of this feature and we can't be the only ones who 
want to browse the source of the distro at times?

Cheers
Tobias


  parent reply	other threads:[~2017-08-30  9:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Tobias Hagelborn [this message]
2017-08-30 23:16   ` [PATCH v2 0/2] Make source code browsable locally - devtool srctree 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

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=2d1bb10c-e13c-79d0-4e0e-bd5aa5d99a42@axis.com \
    --to=tobias.hagelborn@axis.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=tobiasha@axis.com \
    /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 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.