#2034 Modify script based on output from last run
Merged 8 months ago by kevin. Opened 8 months ago by jrichardson.
fedora-infra/ jrichardson/ansible centos_10_sync  into  main

@@ -14,8 +14,8 @@ 

  do

      for repo in BaseOS AppStream CRB

      do

-         mkdir -p $DESTDIR/$repo/$basearch/os/

-         cd $DESTDIR/$repo/$basearch/os/

-         reposync --download-metadata --disablerepo=* --repofrompath=$repo,https://$SERVER/$TOPDIR/$repo/$basearch/os/ --enablerepo=$repo

+         mkdir -p $DESTDIR/$repo/$basearch

+         cd $DESTDIR/$repo/$basearch

+         reposync --download-metadata --disablerepo=* --repofrompath=os,https://$SERVER/$TOPDIR/$repo/$basearch/os/ --enablerepo=os

      done

  done 

\ No newline at end of file

I ran this in my home directory on batcave (with an adjusted DESTDIR to stay in my home directory, and just for x86_64+BaseOS to not take up too much space) and I think it's doing what we want now.

[carlwgeorge@batcave01 ~][PROD-IAD2]$ find centos-10 -type d
centos-10
centos-10/BaseOS
centos-10/BaseOS/x86_64
centos-10/BaseOS/x86_64/os
centos-10/BaseOS/x86_64/os/repodata
centos-10/BaseOS/x86_64/os/Packages

LGTM

rebased onto d7132e2

8 months ago

rebased onto d7132e2

8 months ago

Pull-Request has been merged by kevin

8 months ago
Metadata