All of lore.kernel.org
 help / color / mirror / Atom feed
* A new repo for objc-debug-tools
@ 2019-08-20 20:51 Vijay Khemka
  2019-08-21  0:16 ` Andrew Jeffery
  0 siblings, 1 reply; 4+ messages in thread
From: Vijay Khemka @ 2019-08-20 20:51 UTC (permalink / raw)
  To: Brad Bishop; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

Hi Brad,
Can you please create a new repo for obmc-debug-tools. I have put a simple document here and will elaborate later.
https://gerrit.openbmc-project.xyz/#/c/openbmc/docs/+/24591/

Regards
-Vijay

[-- Attachment #2: Type: text/html, Size: 2362 bytes --]

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

* Re: A new repo for objc-debug-tools
  2019-08-20 20:51 A new repo for objc-debug-tools Vijay Khemka
@ 2019-08-21  0:16 ` Andrew Jeffery
  2019-08-23 23:31   ` Vijay Khemka
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Jeffery @ 2019-08-21  0:16 UTC (permalink / raw)
  To: Vijay Khemka, Brad Bishop; +Cc: openbmc



On Wed, 21 Aug 2019, at 06:22, Vijay Khemka wrote:
>  
> Hi Brad,
> 
> Can you please create a new repo for obmc-debug-tools. I have put a 
> simple document here and will elaborate later.
> 
> https://gerrit.openbmc-project.xyz/#/c/openbmc/docs/+/24591/

The documentation suggests these tools are primarily for debugging
purposes. This wasn't clear to me previously - I now think we should
just host them in the openbmc-tools repo where we already host a
bunch of other scripts for debugging. If you want to install them in the
image then we just write the recipes necessary.

Andrew

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

* Re: A new repo for objc-debug-tools
  2019-08-21  0:16 ` Andrew Jeffery
@ 2019-08-23 23:31   ` Vijay Khemka
  2019-08-26  1:24     ` Andrew Jeffery
  0 siblings, 1 reply; 4+ messages in thread
From: Vijay Khemka @ 2019-08-23 23:31 UTC (permalink / raw)
  To: Andrew Jeffery, Brad Bishop; +Cc: openbmc



On 8/20/19, 5:16 PM, "Andrew Jeffery" <andrew@aj.id.au> wrote:

    
    
    On Wed, 21 Aug 2019, at 06:22, Vijay Khemka wrote:
    >  
    > Hi Brad,
    > 
    > Can you please create a new repo for obmc-debug-tools. I have put a 
    > simple document here and will elaborate later.
    > 
    > https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.openbmc-2Dproject.xyz_-23_c_openbmc_docs_-2B_24591_&d=DwIBAg&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=6z2u4EUj64SDPW7olBwN2br_N9k1c_r4MLozFVqSD9E&s=GIVGeSr8_0FCPynnfun2IgbxjysQyF4bncnGOF_CyX4&e= 
    
    The documentation suggests these tools are primarily for debugging
    purposes. This wasn't clear to me previously - I now think we should
    just host them in the openbmc-tools repo where we already host a
    bunch of other scripts for debugging. If you want to install them in the
    image then we just write the recipes necessary.
I see in openbmc-tools repo, there are separate directories for individual user
And it contains only scripts. I would like this debug tools to be buildable via
cmake and we shouldn't download whole repo if we need only these tools. 
Would prefer to have a separate repo for all tools which can be useful.
    
    Andrew
    


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

* Re: A new repo for objc-debug-tools
  2019-08-23 23:31   ` Vijay Khemka
@ 2019-08-26  1:24     ` Andrew Jeffery
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Jeffery @ 2019-08-26  1:24 UTC (permalink / raw)
  To: Vijay Khemka, Brad Bishop; +Cc: openbmc

Hi Vijay,

First up, can you please change your mail client configuration to use a quote
marker that isn't a double space? It makes it quite hard to parse your emails.
'> ' is a fairly standard choice and breaks in this pattern catch the eye easily
(i.e. I can actually find where you've replied).

On Sat, 24 Aug 2019, at 09:02, Vijay Khemka wrote:
> 
> 
> On 8/20/19, 5:16 PM, "Andrew Jeffery" <andrew@aj.id.au> wrote:
> 
>     
>     
>     On Wed, 21 Aug 2019, at 06:22, Vijay Khemka wrote:
>     >  
>     > Hi Brad,
>     > 
>     > Can you please create a new repo for obmc-debug-tools. I have put 
> a 
>     > simple document here and will elaborate later.
>     > 
>     > 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.openbmc-2Dproject.xyz_-23_c_openbmc_docs_-2B_24591_&d=DwIBAg&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=6z2u4EUj64SDPW7olBwN2br_N9k1c_r4MLozFVqSD9E&s=GIVGeSr8_0FCPynnfun2IgbxjysQyF4bncnGOF_CyX4&e= 
>     
>     The documentation suggests these tools are primarily for debugging
>     purposes. This wasn't clear to me previously - I now think we should
>     just host them in the openbmc-tools repo where we already host a
>     bunch of other scripts for debugging. If you want to install them in the
>     image then we just write the recipes necessary.


>
> I see in openbmc-tools repo, there are separate directories for individual user.

Not to be too argumentative here, but I don't see the issues you've outlined
above as a compelling reason to create a new repository. My expectation of
the complexity of these debug tools is on the order of a single source file. If
this isn't the case, then please correct me, but I'd also be curious as to why
they are more complex than that.

Anyway, some history: The one-directory-per-person was mainly an artefact
of how the repository came into existence, which involved a subtree-merge of
several other people's repositories. To contain the mess I simply sucked each
repo into a directory named after their github ID. The intent is, when someone
has time, to analyse what we've got and restructure the repository along the
lines of purposes for the tools. Maybe that time has come.

> And it contains only scripts. I would like this debug tools to be buildable via
> cmake 

The fact that it currently contains only scripts doesn't mean that it can't
contain the source for any ahead-of-time compiled tools. In fact, the
statement that it contains only scripts isn't actually true: AMI have submitted
a couple of tools they find useful which are written in C and built with
autotools[1][2]. There's no reason we can't accommodate CMake (it's not my
preference of build system, but that only becomes an issue when I'm trying
to fix bugs in CMake-based projects :)).

> and we shouldn't download whole repo if we need only these tools. 

I don't follow the line of reasoning for this statement. We download the repo for
the Linux kernel but maybe only build a 10th of that; it seems odd to make the
argument that we shouldn't grab the whole openbmc-tools repo when it currently
weighs 812KiB. If the haphazard structure is the concern then this should be
addressed by my first point above, and the only minor issue is making sure any
bitbake recipes deal with the directory structure appropriately.

> Would prefer to have a separate repo for all tools which can be useful.

If we're collecting useless tools we should probably stop that :)

Andrew

[1] https://github.com/openbmc/openbmc-tools/tree/master/hongweiz/adcapp
[2] https://github.com/openbmc/openbmc-tools/tree/master/hongweiz/pwmtachtool

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

end of thread, other threads:[~2019-08-26  1:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 20:51 A new repo for objc-debug-tools Vijay Khemka
2019-08-21  0:16 ` Andrew Jeffery
2019-08-23 23:31   ` Vijay Khemka
2019-08-26  1:24     ` Andrew Jeffery

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.