Would it be possible to add Microsoft Edge stable to the repos?

Home Page Forums users Would it be possible to add Microsoft Edge stable to the repos?

Viewing 1 reply thread
  • Author
    Posts
    • #29423
      einar.hjortdal
      Participant

      Would it be possible to add Microsoft Edge stable to the repos?
      There is a deb repository here and a rpm repository here
      Currently I download the deb package manually, extract it and move the data directory in my ~/.local/lib64 directory and add a symlink in ~/.local/bin
      I’m not sure how the entire openmamba infra works but, given there is only one maintainer and hundreds of packages, I imagine you have some script to fetch updates from existing repos and build packages from them. I am curious on how that works.

      • This topic was modified 2 days, 11 hours ago by Silvan.
      • This topic was modified 2 days, 10 hours ago by Silvan.
      • This topic was modified 2 days, 10 hours ago by Silvan.
      • This topic was modified 11 hours, 43 minutes ago by Silvan.
    • #29429
      Silvan
      Keymaster

      I’ve checked but the license does not allow to redistribute Microsoft Edge binaries in a public repository.
      By the way it might be provided as an openmamba installable component from network, a specific mechanism which locally downloads the upstream archive and creates the RPM. However this requires some more effort than simply creating the package for the repository so I will evaluate doing this work when possible.

      The process of updating packages is managed by a chain of openmamba specific tools called autospec, autodist and webbuild which are today provided in a ready-to-use docker environment with the openmamba-docker-buildvm project. This project provides a web interface and scripts that are periodically run to do batch operations like checking for packages to be updated, build them and release to a repository.

      • This reply was modified 2 days, 11 hours ago by Silvan.
      • #29434
        einar.hjortdal
        Participant

        I’ve checked but the license does not allow to redistribute Microsoft Edge binaries in a public repository.
        By the way it might be provided as an openmamba installable component from network, a specific mechanism which locally downloads the upstream archive and creates the RPM. However this requires some more effort than simply creating the package for the repository so I will evaluate doing this work when possible.

        I don’t think it’s worth it at that point. I could whip up a script instead

        • #29446
          einar.hjortdal
          Participant

          Actually, isn’t redistribution of vscode also not allowed by their license?
          I’ll check out how vscode’s package works

        • #29447
          Silvan
          Keymaster

          By doing a quick check the license might not allow binary distribution of vscode either, although other official sources like this page seem to be permissive when citing some distributions.
          While I need to do further checks when I have time I have removed the visual-studio-package from openmamba repository as a precaution.

        • #29448
          einar.hjortdal
          Participant

          Then maybe writing a script that downlaods the binary on the user’s system is the correct thing to do for both vscode and edge

        • #29452
          Silvan
          Keymaster

          openmamba has already a project called netsrpms which provides support for local download and RPM packaging of components which cannot be distributed. Adding support for vscode and edge is now in my TODO list.

        • #29454
          Silvan
          Keymaster

          Additionaly, code can be installed by following the same instructions for RPM based distributions on this page . A Microsoft dnf repository is set and will provide the updates, this is the way Skype could be used until it was dismissed.

          sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
          echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\nautorefresh=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null
          sudo dnf install code

          You may need to remove visual-studio-code-bin before to avoid conflicts.

          Edge is currently only distributed in .deb format so the above mechanism is not applicable.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.