All of lore.kernel.org
 help / color / mirror / Atom feed
* [layerindex-web] Enabled zeus, not working...
@ 2019-10-14 21:21 Mark Hatle
  2019-10-14 22:08 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2019-10-14 21:21 UTC (permalink / raw)
  To: Paul Eggleton, Yocto Project

I added the zeus branch on the layers.openembedded.org today and it's not
showing up and being indexed.  Any idea why?

On my own personal layer index I did it and it worked fine.  So it may be
something related to the configuration.

Below are the errors from the update log:

Oct. 14, 2019, 7:13 p.m.

openembedded-core zeus
INFO: Collecting data for layer openembedded-core on branch zeus
ERROR: error: pathspec 'origin/zeus' did not match any file(s) known to git.
ERROR: Traceback (most recent call last):
  File "update_layer.py", line 370, in main
    (tinfoil, tempdir) = recipeparse.init_parser(settings, branch, bitbakepath,
nocheckout=options.nocheckout, logger=logger)
  File "/opt/layerindex/layerindex/recipeparse.py", line 34, in init_parser
    utils.checkout_repo(bitbakepath, bitbake_ref, logger=logger)
  File "/opt/layerindex/layerindex/utils.py", line 246, in checkout_repo
    runcmd(['git', 'checkout', commit], repodir, logger=logger)
  File "/opt/layerindex/layerindex/utils.py", line 327, in runcmd
    raise e
subprocess.CalledProcessError: Command '['git', 'checkout', 'origin/zeus']'
returned non-zero exit status 1


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

* Re: [layerindex-web] Enabled zeus, not working...
  2019-10-14 21:21 [layerindex-web] Enabled zeus, not working Mark Hatle
@ 2019-10-14 22:08 ` Paul Eggleton
  2019-10-14 22:54   ` Mark Hatle
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2019-10-14 22:08 UTC (permalink / raw)
  To: Mark Hatle; +Cc: Yocto Project

Hi Mark

On Tuesday, 15 October 2019 10:21:29 AM NZDT Mark Hatle wrote:
> I added the zeus branch on the layers.openembedded.org today and it's not
> showing up and being indexed.  Any idea why?

The bitbake branch wasn't correctly specified - it needed to be set to "1.44" 
(grabbed from https://wiki.yoctoproject.org/wiki/Releases if you don't have it 
in your head - I didn't ;).
 
> On my own personal layer index I did it and it worked fine.  So it may be
> something related to the configuration.

I guess it worked in your case because (based on your patch of the other day) 
you're picking bitbake out of a repo where zeus is a valid branch.

FYI on layers.openembedded.org you also need to select the Python environment 
for the branch - python3 in this case. 

I've made both of these changes so it should index correctly the next time 
around.

Cheers
Paul


-- 

Paul Eggleton
Intel System Software Products




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

* Re: [layerindex-web] Enabled zeus, not working...
  2019-10-14 22:08 ` Paul Eggleton
@ 2019-10-14 22:54   ` Mark Hatle
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2019-10-14 22:54 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: Yocto Project



On 10/14/19 5:08 PM, Paul Eggleton wrote:
> Hi Mark
> 
> On Tuesday, 15 October 2019 10:21:29 AM NZDT Mark Hatle wrote:
>> I added the zeus branch on the layers.openembedded.org today and it's not
>> showing up and being indexed.  Any idea why?
> 
> The bitbake branch wasn't correctly specified - it needed to be set to "1.44" 
> (grabbed from https://wiki.yoctoproject.org/wiki/Releases if you don't have it 
> in your head - I didn't ;).
>

Great so it's my fault.. much easier to fix then an infrastructure issue.

>> On my own personal layer index I did it and it worked fine.  So it may be
>> something related to the configuration.
> 
> I guess it worked in your case because (based on your patch of the other day) 
> you're picking bitbake out of a repo where zeus is a valid branch.

Yup, exactly.. it -happened- to work.. :)

> FYI on layers.openembedded.org you also need to select the Python environment 
> for the branch - python3 in this case. 
> 
> I've made both of these changes so it should index correctly the next time 
> around.

Ahh I thought python3 was now the default, and python2 was for the older
systems.  I read it backwards.. I'll try to remember in 6 months.  :)

(Part of the reason I included the mailing list here.)

--Mark

> Cheers
> Paul
> 
> 


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

end of thread, other threads:[~2019-10-14 22:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-14 21:21 [layerindex-web] Enabled zeus, not working Mark Hatle
2019-10-14 22:08 ` Paul Eggleton
2019-10-14 22:54   ` Mark Hatle

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.