diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync
index 9ddc591..4537f0b 100755
--- a/roles/bodhi2/backend/files/new-updates-sync
+++ b/roles/bodhi2/backend/files/new-updates-sync
@@ -14,6 +14,7 @@ logger = logging.getLogger('updates-sync')
 
 
 SOURCE = '/mnt/koji/compose/updates/'
+RAWHIDESOURCE = '/mnt/koji/compose/rawhide/'
 FEDORADEST = '/pub/fedora/linux/updates/'
 FEDORAMODDEST = '/pub/fedora/linux/modular/updates/'
 FEDORAALTDEST = '/pub/fedora-secondary/updates/'
@@ -24,7 +25,7 @@ RELEASES = {'f30': {'topic': 'fedora',
                     'version': '30',
                     'modules': ['fedora', 'fedora-secondary'],
                     'repos': {'rawhide': {
-                        'from': 'f30',
+                        'from': 'latest-Fedora-Rawhide',
                         'ostrees': [{'ref': 'fedora/rawhide/%(arch)s/atomic-host',
                                      'dest': ATOMICDEST,
                                      'arches': ['x86_64', 'ppc64le', 'aarch64']},
@@ -291,6 +292,8 @@ def to_human(num_bytes):
 
 
 def sync_single_repo_arch(release, repo, arch, dest_path):
+    if repo == 'rawhide':
+        SOURCE = RAWHIDESOURCE
     source_path = os.path.join(SOURCE,
                                RELEASES[release]['repos'][repo]['from'],
                                'compose', 'Everything', arch)
@@ -356,6 +359,8 @@ def sync_single_repo(release, repo):
 
 
 def determine_last_link(release, repo):
+    if repo == 'rawhide':
+        SOURCE = RAWHIDESOURCE
     source_path = os.path.join(SOURCE,
                                RELEASES[release]['repos'][repo]['from'])
     target = os.readlink(source_path)

I guess this should fix the traceback:
Traceback (most recent call last):
  File "/usr/local/bin/new-updates-sync", line 443, in <module>
    main()
  File "/usr/local/bin/new-updates-sync", line 434, in main
    if sync_single_release(release):
  File "/usr/local/bin/new-updates-sync", line 371, in sync_single_release
    target = determine_last_link(release, repo)
  File "/usr/local/bin/new-updates-sync", line 361, in determine_last_link
    target = os.readlink(source_path)
OSError: [Errno 2] No such file or directory: '/mnt/koji/compose/updates/f30'

I dont like using 'latest-Fedora-Rawhide' but unless we create another symlink
this is the only option.




On Mon, Aug 27, 2018 at 3:02 PM Dusty Mabe <dusty@dustymabe.com> wrote:
I think you talked to patrick about this and I'll trust him on whether this change
will actually work or not. As far as the configs it looks ok to me except for one small
typo (missing end brace):

diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync
index 1cb22c21d..9ddc59100 100755
--- a/roles/bodhi2/backend/files/new-updates-sync
+++ b/roles/bodhi2/backend/files/new-updates-sync
@@ -29,7 +29,7 @@ RELEASES = {'f30': {'topic': 'fedora',
                                      'dest': ATOMICDEST,
                                      'arches': ['x86_64', 'ppc64le', 'aarch64']},
                                     {'ref': 'fedora/rawhide/x86_64/silverblue',
-                                     'dest': ATOMICDEST},
+                                     'dest': ATOMICDEST}],
                         'to': [{'arches': ['x86_64', 'armhfp', 'aarch64', 'source'],
                                 'dest': os.path.join(FEDORADEST, '30', 'Everything')},
                                {'arches': ['i386', 'ppc64le', 's390x'],