webosose / build-webos

webOS OSE build layer
680 stars 125 forks source link

webosiot_rule.py: replace git:// with https:// #25

Closed shr-project closed 2 years ago

shr-project commented 2 years ago

Change-Id: Idd1f9d8a250eeefd809c79771b448f011748ce94

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

shr-project commented 2 years ago

This was "merged" and force pushed to master with:

From https://github.com/webosose/build-webos
 + 080d934...ea3b3df master     -> origin/master  (forced update)
 * [new tag]         v2.14.0    -> v2.14.0

and is now included in build 411:

build-webos-ose$ git log 080d934...ea3b3df
commit ea3b3df66e097bf32275d3d69fef2dfb1f16e017 (tag: v2.14.0, origin/master, origin/HEAD)
Author: Hyunjae Shin <hyunjae92.shin@lgepartner.com>
Date:   Mon Nov 15 15:59:01 2021 +0900

    webos-image: Update layer pins for 2021-11-15 (build 411)

    meta-webosose as of 2021-11-15 15:59:08 +0900

    1e48d4b08 webos.conf: Release webOS OSE v2.14.0
    cbc3a4811 linux-firmware-rpidistro: Change branch to buster
    0e2a0fbe1 ose: com.webos.service.memorymanager=50

commit 909f934c3e4a88c0f141d7ba5f947de029497d50
Author: Hyunjae Shin <hyunjae92.shin@lgepartner.com>
Date:   Mon Nov 29 09:00:49 2021 +0900

    webosiot_rule.py: replace git:// with https://

    * github decided that nobody should use git://
      https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git

      and starting today all the builds were failing to fetch the metadata
      layers from github like:

      2021-11-01T18:53:26 INFO _main_ Updating [meta-ros]
      fatal: remote error:
        The unauthenticated git protocol on port 9418 is no longer supported.
      Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

      this was just a "test" as they said:
      "November 2, 2021: We'll also run several short brownouts on this date."
      and it will be completely disabled on January 11 2022.

      Update the URLs of all git repos, not only the ones hosted on github with:

      for i in git://git.yoctoproject.org/meta-virtualization \
               git://github.com/openembedded/meta-openembedded.git \
               git://github.com/openembedded/bitbake.git \
               git://github.com/openembedded/openembedded-core.git \
               git://github.com/uptane/meta-updater.git \
               git://git.openembedded.org/meta-python2 \
               git://code.qt.io/yocto/meta-qt6.git  \
               git://git.yoctoproject.org/meta-raspberrypi \
               git://git.yoctoproject.org/meta-security \
               git://github.com/ros/meta-ros.git \
               git://github.com/ros/meta-ros-webos.git \
               git://github.com/shr-project/meta-webosose.git \
               git://github.com/meta-qt5/meta-qt5.git \
               git://github.com/advancedtelematic/meta-updater.git \
               git://github.com/webosose/meta-webosose.git \
               git://git.yoctoproject.org/meta-gplv2 \
          ; do sed -i "s#'$i',  #'${i/git:/https:}',#g" weboslayers.py; done

      for i in https://git.yoctoproject.org/meta-virtualization \
               https://git.yoctoproject.org/meta-raspberrypi \
               https://git.yoctoproject.org/meta-security \
               https://git.yoctoproject.org/meta-gplv2 \
          ; do sed -i "s#'$i',    #'${i/org\/meta/org\/git\/meta}',#g" weboslayers.py; done

commit 080d9342c2bec58f0327c725963fa84dae71c51a (tag: builds/master/411, ose-master)
Author: Hyunjae Shin <hyunjae92.shin@lgepartner.com>
Date:   Mon Nov 15 15:59:01 2021 +0900

    webos-image: Update layer pins for 2021-11-15 (build 411)

    meta-webosose as of 2021-11-15 15:59:08 +0900

    1e48d4b08 webos.conf: Release webOS OSE v2.14.0
    cbc3a4811 linux-firmware-rpidistro: Change branch to buster
    0e2a0fbe1 ose: com.webos.service.memorymanager=50

Be aware that with newer git you need to pass --force to update the build 411 tag:

build-webos-ose$ git fetch --tags
From https://github.com/webosose/build-webos
 ! [rejected]        builds/master/411 -> builds/master/411  (would clobber existing tag)
build-webos-ose$ git fetch --tags --force
From https://github.com/webosose/build-webos
 t [tag update]      builds/master/411 -> builds/master/411

Closing