<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16272</bug_id>
          
          <creation_ts>2026-04-28 15:18:10 +0000</creation_ts>
          <short_desc>check layerindex code for git:// references</short_desc>
          <delta_ts>2026-06-09 15:56:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Layer Index</product>
          <component>Layer Index</component>
          <version>6.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Trevor Woerner">twoerner</reporter>
          <assigned_to name="Tim Orling">tim.orling</assigned_to>
          <cc>mathieu.dubois-briand</cc>
    
    <cc>mhalstead</cc>
    
    <cc>piotr</cc>
    
    <cc>tim.orling</cc>
          
          <qa_contact name="apoorv sangal">apoorvsangal</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105279</commentid>
    <comment_count>0</comment_count>
    <who name="Trevor Woerner">twoerner</who>
    <bug_when>2026-04-28 15:18:10 +0000</bug_when>
    <thetext>Now that we are deprecating the git:// access to git.openembedded.org and git.yoctoproject.org check the layerindex code to ensure that git:// is not being used as, say, a pre-filled value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105280</commentid>
    <comment_count>1</comment_count>
    <who name="Trevor Woerner">twoerner</who>
    <bug_when>2026-04-28 15:37:01 +0000</bug_when>
    <thetext>Re-assigned to Sandeep @ AMD</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105310</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-04-30 14:57:18 +0000</bug_when>
    <thetext>One of the places where this needs to be changed that might not be obvious is in the template beginning here:

https://git.yoctoproject.org/layerindex-web/tree/templates/layerindex/editlayer.html#n199

Quick grep:

layerindex-web % grep -R &quot;git://&quot; .
./docker/connectivity_check.sh:GIT_TEST_REPO=&quot;git://git.yoctoproject.org/meta-layerindex-test&quot;
./docker/settings.py:BITBAKE_REPO_URL = &quot;git://git.openembedded.org/bitbake&quot;
./layerindex/tools/import_classic.py:        layer.vcs_url =  &apos;git://git.openembedded.org/openembedded&apos;
./layerindex/tools/import_layer.py:    if repoval.startswith(&apos;git://git.openembedded.org/&apos;):
./layerindex/tools/import_layer.py:    elif repoval.startswith(&apos;git://git.yoctoproject.org/&apos;):
./layerindex/tools/import_layer.py:    elif repoval.startswith(&apos;git://github.com/&apos;) or repoval.startswith(&apos;http://github.com/&apos;) or repoval.startswith(&apos;https://github.com/&apos;):
./layerindex/tools/import_layer.py:    elif repoval.startswith(&apos;git://gitlab.com/&apos;) or repoval.startswith(&apos;http://gitlab.com/&apos;) or repoval.startswith(&apos;https://gitlab.com/&apos;):
./layerindex/tools/import_layer.py:    elif repoval.startswith(&apos;git://bitbucket.org/&apos;) or repoval.startswith(&apos;http://bitbucket.org/&apos;) or repoval.startswith(&apos;https://bitbucket.org/&apos;):
./layerindex/tools/import_wiki_layers.py:                        if repoval.startswith(&apos;git://git.openembedded.org/&apos;):
./layerindex/tools/import_wiki_layers.py:                        elif repoval.startswith(&apos;git://git.yoctoproject.org/&apos;):
./layerindex/tools/import_wiki_layers.py:                        elif repoval.startswith(&apos;git://github.com/&apos;) or repoval.startswith(&apos;http://github.com/&apos;) or repoval.startswith(&apos;https://github.com/&apos;):
./layerindex/tools/import_wiki_layers.py:                        elif repoval.startswith(&apos;git://gitlab.com/&apos;) or repoval.startswith(&apos;http://gitlab.com/&apos;) or repoval.startswith(&apos;https://gitlab.com/&apos;):
./layerindex/tools/import_wiki_layers.py:                        elif repoval.startswith(&apos;git://bitbucket.org/&apos;) or repoval.startswith(&apos;http://bitbucket.org/&apos;) or repoval.startswith(&apos;https://bitbucket.org/&apos;):
./layerindex/models.py:        elif self.url.startswith(&apos;git://github.com&apos;):
./layerindex/models.py:        elif self.url.startswith(&apos;git://git.yoctoproject.org&apos;):
./layerindex/models.py:        elif self.url.startswith(&apos;git://git.kernel.org&apos;):
./layerindex/forms.py:        val = RegexValidator(regex=r&apos;^[a-z]+://[^ ]+$&apos;, message=&apos;Please enter a valid repository URL, e.g. git://server.name/path&apos;)
./tests/test_update.py:    run_cmd(&quot;layerindex/tools/import_layer.py git://git.openembedded.org/openembedded-core -s meta openembedded-core&quot;)
./tests/test_update.py:    run_cmd(&quot;layerindex/tools/import_layer.py git://git.yoctoproject.org/meta-layerindex-test -s meta-layerindex-test&quot;)
./README:        Repository URL:           git://git.openembedded.org/openembedded-core
./README:   git clone git://git.openembedded.org/openembedded
./README:   git clone git://git.openembedded.org/bitbake -b 1.12
./settings.py:BITBAKE_REPO_URL = &quot;git://git.openembedded.org/bitbake&quot;
./templates/layerindex/editlayer.html:        if( repoval.startsWith(&apos;git://git.openembedded.org/&apos;) ) {
./templates/layerindex/editlayer.html:        else if( repoval.startsWith(&apos;git://git.yoctoproject.org/&apos;) ) {
./templates/layerindex/editlayer.html:        else if( repoval.startsWith(&apos;git://github.com/&apos;) ) {
./templates/layerindex/editlayer.html:        else if( repoval.startsWith(&apos;git://gitlab.com/&apos;) ) {
./templates/layerindex/editlayer.html:        else if( repoval.startsWith(&apos;git://bitbucket.org/&apos;) ) {</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105724</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-06-04 15:29:56 +0000</bug_when>
    <thetext>Related: https://bugzilla.yoctoproject.org/show_bug.cgi?id=10699</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105725</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-06-04 15:32:15 +0000</bug_when>
    <thetext>Initial attempt at the code side (we also need to fix metadata in the database #16240):

https://git.yoctoproject.org/layerindex-web/log/?h=timo/update-git-urls</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105786</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2026-06-09 15:56:18 +0000</bug_when>
    <thetext>This work has been deployed and the references are now correct. Thank you to Tim Orling and Piotr Buliński.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>