Skip to contentSkip to conversation

Branch switch doesn't work on openembedded.org

DISCUSSION Marius Kriegerowski 3 participants 5 messages Apr 12, 2022 – Apr 18, 2022 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

The branch switch button on the top right on git.openembedded.org <http://git.openembedded.org/> seems to be broken. At least it doesn’t switch between branches on firefox 99.0.

I tried switching between master and dunfell on this one (but doesn’t seem to switch nowhere):

http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb?id=82b80e6ab10a0cf678428ff11832dc9b90f9d5a6&h=master <http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb?id=82b80e6ab10a0cf678428ff11832dc9b90f9d5a6&h=master>

Also, it doesn’t work when clicking the switch button after selecting a different branch. Am I using it in the wrong way??

Best
Marius

Ps:
I tried sending that to the main list but I couldn’t. It is tagged as “new member moderated” but I don’t know what that means. I’m not sure this is the right mailing list either. So feel free to forward to the right one. Thanks :)

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi Marius,

http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb?id=82b80e6ab10a0cf678428ff11832dc9b90f9d5a6&h=master

is actually going to show you the state of the file at the given commit hash passed in the id argument and the branch (h argument) will be ignored.

I assume we'd like to remove the id argument when the dropdown menu for versions is used to switch between branches.

I don't know where to do this so I'll let the competent people do it or guide us :)

Cheers,
Quentin

#3 lore raw

Hi Marius,
If I understand correctly you want to get a 404 page when the path specified doesn't exist in the branch selected. Dropping the id from the query string when switching branches would accomplish that. The correct place to propose these changes is on the cgit mailing list. You can join at
https://lists.zx2c4.com/mailman/listinfo/cgit. Once the changes are in cgit you can email [email protected] to request we pull them into production.

Quoted 28 lines · Quentin Schulz

Hi Marius,

http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb?id=82b80e6ab10a0cf678428ff11832dc9b90f9d5a6&h=master

is actually going to show you the state of the file at the given commit hash passed in the id argument and the branch (h argument) will be ignored.

I assume we'd like to remove the id argument when the dropdown menu for versions is used to switch between branches.

I don't know where to do this so I'll let the competent people do it or guide us :)

Cheers,
Quentin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#13631):
https://lists.openembedded.org/g/bitbake-devel/message/13631
Mute This Topic: https://lists.openembedded.org/mt/90421898/1003190
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Michael Halstead
Linux Foundation / Yocto Project
Systems Operations Engineer
#4 lore raw

Dear Michael,

Thanks a lot! Posted to the cgit mailing list.
Best

Marius

Quoted 36 lines · Michael Halstead

Hi Marius,
If I understand correctly you want to get a 404 page when the path specified doesn't exist in the branch selected. Dropping the id from the query string when switching branches would accomplish that. The correct place to propose these changes is on the cgit mailing list. You can join at https://lists.zx2c4.com/mailman/listinfo/cgit <https://lists.zx2c4.com/mailman/listinfo/cgit>. Once the changes are in cgit you can email [email protected] <mailto:[email protected]> to request we pull them into production.

On Fri, Apr 15, 2022 at 4:32 AM Quentin Schulz <[email protected] <mailto:[email protected]>> wrote:
Hi Marius,

http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb?id=82b80e6ab10a0cf678428ff11832dc9b90f9d5a6&h=master <http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb?id=82b80e6ab10a0cf678428ff11832dc9b90f9d5a6&h=master>

is actually going to show you the state of the file at the given commit hash passed in the id argument and the branch (h argument) will be ignored.

I assume we'd like to remove the id argument when the dropdown menu for versions is used to switch between branches.

I don't know where to do this so I'll let the competent people do it or guide us :)

Cheers,
Quentin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13631): https://lists.openembedded.org/g/bitbake-devel/message/13631 <https://lists.openembedded.org/g/bitbake-devel/message/13631>
Mute This Topic: https://lists.openembedded.org/mt/90421898/1003190 <https://lists.openembedded.org/mt/90421898/1003190>
Group Owner: [email protected] <mailto:bitbake-devel%[email protected]>
Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub <https://lists.openembedded.org/g/bitbake-devel/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Michael Halstead
Linux Foundation / Yocto Project
Systems Operations Engineer
#5 lore raw
In reply to a message not in the archive

Dear Michael,

Thanks for your reply. This does not seem to be the issue. Switching between branches on the GitHub Repo works flawless.
Dunfell:
https://github.com/openembedded/meta-openembedded/blob/dunfell/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb <https://github.com/openembedded/meta-openembedded/blob/dunfell/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb>
Master:
https://github.com/openembedded/meta-openembedded/blob/master/meta-python/recipes-devtools/python/python3-pybind11_2.8.1.bb <https://github.com/openembedded/meta-openembedded/blob/master/meta-python/recipes-devtools/python/python3-pybind11_2.8.1.bb>

As you can see the name has changed. But that should somehow be reflected in what is displayed, such as a 404 when the recipe is not available under the former name. So, I guess this is what doesn’t work properly at git.openembedded.org <http://git.openembedded.org/>.

Best regards

Marius

Quoted 36 lines · Michael Opdenacker

Hi Marius,

Quoted 9 lines · Marius Kriegerowski

Hi,

The branch switch button on the top right on git.openembedded.org
<http://git.openembedded.org> seems to be broken. At least it doesn’t switch between branches on firefox 99.0.

I tried switching between master and dunfell on this one (but doesn’t seem to switch nowhere):

Quoted 6 lines

http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb?id=82b80e6ab10a0cf678428ff11832dc9b90f9d5a6&h=master
<http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb?id=82b80e6ab10a0cf678428ff11832dc9b90f9d5a6&h=master>

Also, it doesn’t work when clicking the switch button after selecting a different branch. Am I using it in the wrong way??

Maybe because in your example, both "master" and "dunfell" have the same version of this file.
Try this instead:
https://git.openembedded.org/openembedded-core/tree/scripts/runqemu?h=master

Thanks for sharing issues with us anyway.
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com