Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-12291

metro: passwordless access to repositories

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None

      now that i successfully created gitolite hosting of meta-repo with testing changes, the problem is that i need to put password for each kit git clone from repohost. i have keychain setup for it and i can access gitolite with no password:

      oleh-repos ~ # ssh -T repos@localhost
      hello root, this is repos@oleh-repos running gitolite3 v3.6.13-2-gbadc0a6 on git 2.44.0
      
       R    	funtoo/..*
       R  	funtoo/next/browser-kit
       R  	funtoo/next/core-gl-kit
       R  	funtoo/next/core-hw-kit
       R  	funtoo/next/core-kit
       R  	funtoo/next/core-server-kit
       R  	funtoo/next/desktop-kit
       R  	funtoo/next/dev-kit
       R  	funtoo/next/editors-kit
       R  	funtoo/next/games-kit
       R  	funtoo/next/gnome-kit
       R  	funtoo/next/haskell-kit
       R  	funtoo/next/i18n-kit
       R  	funtoo/next/java-kit
       R  	funtoo/next/kde-kit
       R  	funtoo/next/lang-kit
       R  	funtoo/next/lisp-scheme-kit
       R  	funtoo/next/llvm-kit
       R  	funtoo/next/mate-kit
       R  	funtoo/next/media-kit
       R  	funtoo/next/meta-repo
       R  	funtoo/next/ml-lang-kit
       R  	funtoo/next/net-kit
       R  	funtoo/next/perl-kit
       R  	funtoo/next/python-kit
       R  	funtoo/next/python-modules-kit
       R  	funtoo/next/qt-kit
       R  	funtoo/next/ruby-kit
       R  	funtoo/next/science-kit
       R  	funtoo/next/security-kit
       R  	funtoo/next/text-kit
       R  	funtoo/next/xfce-kit
      oleh-repos ~ #
      

      but when i run metro test build, during clone of each kit i need to put password for each, which is around hundred times. it looks metro does not respect env for some reason.

      Creating /home/mirror/funtoo/next/snapshots/portage-2024-04-21.tar.xz...
      Using /root/ego/ego, since it's there.
      Running as regular user.
      Syncing meta-repo
      Cloning into '/var/tmp/metro/work/next/portage-2024-04-21/meta-repo'...
      Enter passphrase for key '/root/.ssh/id_ed25519':
      remote: Enumerating objects: 17, done.
      remote: Counting objects: 100% (17/17), done.
      remote: Compressing objects: 100% (15/15), done.
      remote: Total 17 (delta 2), reused 0 (delta 0), pack-reused 0 (from 0)
      Receiving objects: 100% (17/17), done.
      Resolving deltas: 100% (2/2), done.
      Syncing browser-kit branch next
      Cloning into '/var/tmp/metro/work/next/portage-2024-04-21/meta-repo/kits/browser-kit'...
      Enter passphrase for key '/root/.ssh/id_ed25519':
      

            Unassigned Unassigned
            oleg oleg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: