Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-12 Thread 张家岭

Hi Ross:

    Thank you , I can see it now.

Cheers,
JiaLing Zhang

在 2023/6/12 18:40, Ross Burton 写道:

On 12 Jun 2023, at 10:36, 张家岭  wrote:
>
> Hi Ross:
>
> Thank you , I can edit this layer now , How can I show  this 
layer in http://layers.openembedded.org/layerindex/branch/master/layers/


It’s there now, at least I can see it.



Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60256): https://lists.yoctoproject.org/g/yocto/message/60256
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-12 Thread Ross Burton
On 12 Jun 2023, at 10:36, 张家岭  wrote:
>
> Hi Ross:
>
> Thank you , I can edit this layer now , How can I show  this layer in 
> http://layers.openembedded.org/layerindex/branch/master/layers/

It’s there now, at least I can see it.

[cid:76b32aeb-b2a5-45af-abff-382eac2a571b@eurprd08.prod.outlook.com]


Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60251): https://lists.yoctoproject.org/g/yocto/message/60251
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-12 Thread 张家岭

Hi Ross:

    Thank you , I can edit this layer now , How can I show  this layer 
in http://layers.openembedded.org/layerindex/branch/master/layers/



在 2023/6/12 17:24, Ross Burton 写道:

On 12 Jun 2023, at 07:39, 张家岭  wrote:

Hi Ross:

 I can open this web page 
http://layers.openembedded.org/layerindex/branch/master/layer/meta-loongarch/ , 
but there is no maintainer iterm in this web , so I can not edit this layer . 
Can you add this iterm for me ?

Done.  You definitely filled that in correctly when you submitted the layer, 
but because maintainers are associated with branches it got lost when it 
couldn’t find the master branch.

Cheers,
Ross



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60250): https://lists.yoctoproject.org/g/yocto/message/60250
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-12 Thread Ross Burton
On 12 Jun 2023, at 07:39, 张家岭  wrote:
> 
> Hi Ross:
> 
> I can open this web page 
> http://layers.openembedded.org/layerindex/branch/master/layer/meta-loongarch/ 
> , but there is no maintainer iterm in this web , so I can not edit this layer 
> . Can you add this iterm for me ?

Done.  You definitely filled that in correctly when you submitted the layer, 
but because maintainers are associated with branches it got lost when it 
couldn’t find the master branch.

Cheers,
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60248): https://lists.yoctoproject.org/g/yocto/message/60248
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-12 Thread 张家岭

Hi Ross:

        I can open this web page 
http://layers.openembedded.org/layerindex/branch/master/layer/meta-loongarch/ 
, but there is no maintainer iterm in this web , so I can not edit this 
layer . Can you add this iterm for me ?



在 2023/6/12 10:04, 张家岭 写道:

Hi Ross .

    I have changed the default branch to master, But I stil get this 
error , is there something wrong in self.active_maintainers()?


```

/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py, 
line 47, in inner

    response = get_response(request) …
▼ Local vars
Variable    Value
exc
TypeError("'NoneType' object is not iterable")
get_response
>

request

/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py, 
line 181, in _get_response
    response = wrapped_callback(request, *callback_args, 
**callback_kwargs) …

▼ Local vars
Variable    Value
callback

callback_args
()
callback_kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
middleware_method
>

request

response
None
self

wrapped_callback

/usr/local/lib/python3.10/dist-packages/django/views/generic/base.py, 
line 70, in view

    return self.dispatch(request, *args, **kwargs) …
▼ Local vars
Variable    Value
args
()
cls

initkwargs
{'template_name': 'layerindex/detail.html'}
kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
request

self

/opt/layerindex/layerindex/views.py, line 410, in dispatch
    res = super(LayerDetailView, self).dispatch(request, *args, 
**kwargs) …

▼ Local vars
Variable    Value
__class__

args
()
kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
request

self

/usr/local/lib/python3.10/dist-packages/django/views/generic/base.py, 
line 98, in dispatch

    return handler(request, *args, **kwargs) …
▼ Local vars
Variable    Value
args
()
handler
object at 0x7f437af523b0>>

kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
request

self

/usr/local/lib/python3.10/dist-packages/django/views/generic/detail.py, 
line 107, in get

    context = self.get_context_data(object=self.object) …
▼ Local vars
Variable    Value
args
()
kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
request

self

/opt/layerindex/layerindex/views.py, line 424, in get_context_data
    context['useredit'] = layer.user_can_edit(self.user) …
▼ Local vars
Variable    Value
__class__

context
{'layeritem': ,
 'object': ,
 'view': }
kwargs
{'object': }
layer

self

/opt/layerindex/layerindex/models.py, line 178, in user_can_edit
    for maintainer in self.active_maintainers(): …
▼ Local vars
Variable    Value
self

user
>
user_email
'zhangjial...@loongson.cn'

```
在 2023/6/9 19:33, Ross Burton 写道:

Hi,

This would be 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14989, because your 
layer has a ‘main’ branch not a ‘master’ branch.  You can either 
rename main to master, or keep a master branch in sync with main, or 
wait for that to be fixed.


Ross



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60247): https://lists.yoctoproject.org/g/yocto/message/60247
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-11 Thread 张家岭

Hi Ross .

    I have changed the default branch to master, But I stil get this 
error , is there something wrong in self.active_maintainers()?


```

/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py, 
line 47, in inner

    response = get_response(request) …
▼ Local vars
Variable    Value
exc
TypeError("'NoneType' object is not iterable")
get_response
>

request

/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py, 
line 181, in _get_response
    response = wrapped_callback(request, *callback_args, 
**callback_kwargs) …

▼ Local vars
Variable    Value
callback

callback_args
()
callback_kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
middleware_method
>

request

response
None
self

wrapped_callback

/usr/local/lib/python3.10/dist-packages/django/views/generic/base.py, 
line 70, in view

    return self.dispatch(request, *args, **kwargs) …
▼ Local vars
Variable    Value
args
()
cls

initkwargs
{'template_name': 'layerindex/detail.html'}
kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
request

self

/opt/layerindex/layerindex/views.py, line 410, in dispatch
    res = super(LayerDetailView, self).dispatch(request, *args, 
**kwargs) …

▼ Local vars
Variable    Value
__class__

args
()
kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
request

self

/usr/local/lib/python3.10/dist-packages/django/views/generic/base.py, 
line 98, in dispatch

    return handler(request, *args, **kwargs) …
▼ Local vars
Variable    Value
args
()
handler
object at 0x7f437af523b0>>

kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
request

self

/usr/local/lib/python3.10/dist-packages/django/views/generic/detail.py, 
line 107, in get

    context = self.get_context_data(object=self.object) …
▼ Local vars
Variable    Value
args
()
kwargs
{'branch': 'master', 'slug': 'meta-loongarch'}
request

self

/opt/layerindex/layerindex/views.py, line 424, in get_context_data
    context['useredit'] = layer.user_can_edit(self.user) …
▼ Local vars
Variable    Value
__class__

context
{'layeritem': ,
 'object': ,
 'view': }
kwargs
{'object': }
layer

self

/opt/layerindex/layerindex/models.py, line 178, in user_can_edit
    for maintainer in self.active_maintainers(): …
▼ Local vars
Variable    Value
self

user
>
user_email
'zhangjial...@loongson.cn'

```
在 2023/6/9 19:33, Ross Burton 写道:

Hi,

This would be https://bugzilla.yoctoproject.org/show_bug.cgi?id=14989, because 
your layer has a ‘main’ branch not a ‘master’ branch.  You can either rename 
main to master, or keep a master branch in sync with main, or wait for that to 
be fixed.

Ross



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60245): https://lists.yoctoproject.org/g/yocto/message/60245
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-09 Thread Ross Burton
Hi,

This would be https://bugzilla.yoctoproject.org/show_bug.cgi?id=14989, because 
your layer has a ‘main’ branch not a ‘master’ branch.  You can either rename 
main to master, or keep a master branch in sync with main, or wait for that to 
be fixed.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60238): https://lists.yoctoproject.org/g/yocto/message/60238
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-08 Thread 张家岭

Hello Ross,

    I get this error ,  something is wrong in self.active_maintainers()


```

Environment:


Request Method: GET
Request URL: 
http://layers.openembedded.org/layerindex/branch/master/layer/meta-loongarch/


Django Version: 3.2.16
Python Version: 3.10.6
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'layerindex',
 'django_registration',
 'reversion',
 'reversion_compare',
 'captcha',
 'axes',
 'rest_framework',
 'corsheaders',
 'rrs',
 'bootstrap_pagination')
Installed Middleware:
('corsheaders.middleware.CorsMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'axes.middleware.AxesMiddleware',
 'layerindex.middleware.NonAtomicRevisionMiddleware')



Traceback (most recent call last):
  File 
"/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", 
line 47, in inner

    response = get_response(request)
  File 
"/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", 
line 181, in _get_response

    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File 
"/usr/local/lib/python3.10/dist-packages/django/views/generic/base.py", 
line 70, in view

    return self.dispatch(request, *args, **kwargs)
  File "/opt/layerindex/layerindex/views.py", line 410, in dispatch
    res = super(LayerDetailView, self).dispatch(request, *args, **kwargs)
  File 
"/usr/local/lib/python3.10/dist-packages/django/views/generic/base.py", 
line 98, in dispatch

    return handler(request, *args, **kwargs)
  File 
"/usr/local/lib/python3.10/dist-packages/django/views/generic/detail.py", 
line 107, in get

    context = self.get_context_data(object=self.object)
  File "/opt/layerindex/layerindex/views.py", line 424, in get_context_data
    context['useredit'] = layer.user_can_edit(self.user)
  File "/opt/layerindex/layerindex/models.py", line 178, in user_can_edit
    for maintainer in self.active_maintainers():

Exception Type: TypeError at /layerindex/branch/master/layer/meta-loongarch/
Exception Value: 'NoneType' object is not iterable
```

在 2023/6/8 18:10, Ross Burton 写道:

On 8 Jun 2023, at 08:21, 张家岭 via lists.yoctoproject.org 
 wrote:

I would like to submit a new layer named meta-loongarch for the LoongArch machine to 
http://layers.openembedded.org/layerindex/branch/master/layers/. However, when I 
attempted to submit, I encountered the error message "Layer with this Layer name 
already exists." Yet, I cannot find the layer named meta-loongarch in the layer 
index. Could you please help me or provide some advice on this matter?

New layers need to be approved before they’re publicly visible, I’ve just 
approved the layer you submitted:

https://layers.openembedded.org/layerindex/branch/master/layer/meta-loongarch/

Ross



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60236): https://lists.yoctoproject.org/g/yocto/message/60236
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-08 Thread 张家岭

Hi, Ross

    Thank you for your help .

在 2023/6/8 18:10, Ross Burton 写道:

On 8 Jun 2023, at 08:21, 张家岭 via lists.yoctoproject.org 
 wrote:

I would like to submit a new layer named meta-loongarch for the LoongArch machine to 
http://layers.openembedded.org/layerindex/branch/master/layers/. However, when I 
attempted to submit, I encountered the error message "Layer with this Layer name 
already exists." Yet, I cannot find the layer named meta-loongarch in the layer 
index. Could you please help me or provide some advice on this matter?

New layers need to be approved before they’re publicly visible, I’ve just 
approved the layer you submitted:

https://layers.openembedded.org/layerindex/branch/master/layer/meta-loongarch/

Ross



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60230): https://lists.yoctoproject.org/g/yocto/message/60230
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Submit a new layer meta-loongarch to the layer index

2023-06-08 Thread Ross Burton
On 8 Jun 2023, at 08:21, 张家岭 via lists.yoctoproject.org 
 wrote:
> I would like to submit a new layer named meta-loongarch for the LoongArch 
> machine to http://layers.openembedded.org/layerindex/branch/master/layers/. 
> However, when I attempted to submit, I encountered the error message "Layer 
> with this Layer name already exists." Yet, I cannot find the layer named 
> meta-loongarch in the layer index. Could you please help me or provide some 
> advice on this matter?

New layers need to be approved before they’re publicly visible, I’ve just 
approved the layer you submitted:

https://layers.openembedded.org/layerindex/branch/master/layer/meta-loongarch/

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60229): https://lists.yoctoproject.org/g/yocto/message/60229
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Submit a new layer meta-loongarch to the layer index

2023-06-08 Thread 张家岭

Hello

I would like to submit a new layer named meta-loongarch for the 
LoongArch machine to 
http://layers.openembedded.org/layerindex/branch/master/layers/. 
However, when I attempted to submit, I encountered the error message 
"Layer with this Layer name already exists." Yet, I cannot find the 
layer named meta-loongarch in the layer index. Could you please help me 
or provide some advice on this matter?





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60223): https://lists.yoctoproject.org/g/yocto/message/60223
Mute This Topic: https://lists.yoctoproject.org/mt/99403007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-