Yeah, good catch by Dusty.

Hopefully, this is the right thing to do:

diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync
index e625f50..468d269 100755
--- a/roles/bodhi2/backend/files/new-updates-sync
+++ b/roles/bodhi2/backend/files/new-updates-sync
@@ -344,7 +344,10 @@ def sync_single_repo(release, repo):
     for archdef in RELEASES[release]['repos'][repo]['to']:
         for arch in archdef['arches']:
             destarch = 'SRPMS' if arch == 'source' else arch
-            dest_path = os.path.join(archdef['dest'], destarch)
+            if repo == 'rawhide':
+                dest_path = os.path.join(archdef['dest'], destarch, 'os')
+            else:
+                dest_path = os.path.join(archdef['dest'], destarch)
             results.append(sync_single_repo_arch(release, repo, arch, dest_path))
 
     stats = collect_stats(results)


On Wed, Aug 29, 2018 at 10:27 AM Stephen John Smoogen <smooge@gmail.com> wrote:
-1 sorry.. dusty pointed out that the join will create
/rawhide/Everything/os/{arch} versus /rawhide/Everything/{arch}/os
On Wed, 29 Aug 2018 at 10:14, Stephen John Smoogen <smooge@gmail.com> wrote:
>
> +1 so we can get our rawhide out of rawhide
> On Wed, 29 Aug 2018 at 10:09, Mohan Boddu <mboddu@bhujji.com> wrote:
> >
> > Fix for https://pagure.io/releng/issue/7731.
> >
> > This can be a temporary fix or permanent fix
> > depends on which way we choose to proceed.
> >
> > If you think we should go back and revert the changes
> > we made to this script and just sync them as part
> > of nightly.sh, please -1 this.
> >
> > diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync
> > index e625f50..660b464 100755
> > --- a/roles/bodhi2/backend/files/new-updates-sync
> > +++ b/roles/bodhi2/backend/files/new-updates-sync
> > @@ -34,9 +34,9 @@ RELEASES = {'rawhide': {'topic': 'fedora',
> >                                      {'ref': 'fedora/rawhide/x86_64/silverblue',
> >                                       'dest': ATOMICDEST}],
> >                          'to': [{'arches': ['x86_64', 'armhfp', 'aarch64', 'source'],
> > -                                'dest': os.path.join(RAWHIDEDEST, 'rawhide', 'Everything')},
> > +                                'dest': os.path.join(RAWHIDEDEST, 'rawhide', 'Everything', 'os')},
> >                                 {'arches': ['i386', 'ppc64le', 's390x'],
> > -                                'dest': os.path.join(RAWHIDEALTDEST, 'rawhide', 'Everything')}
> > +                                'dest': os.path.join(RAWHIDEALTDEST, 'rawhide', 'Everything', 'os')}
> >                                ]}},
> >                     },
> >              'f29': {'topic': 'fedora',
> >
> > _______________________________________________
> > infrastructure mailing list -- infrastructure@lists.fedoraproject.org
> > To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
> > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
>
>
>
> --
> Stephen J Smoogen.



--
Stephen J Smoogen.
_______________________________________________
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org