Re: [PATCH] add syncing for f27-updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> ---
>  roles/bodhi2/backend/files/new-updates-sync | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/roles/bodhi2/backend/files/new-updates-sync
> b/roles/bodhi2/backend/files/new-updates-sync
> index a241eeb..35c9d58 100755
> --- a/roles/bodhi2/backend/files/new-updates-sync
> +++ b/roles/bodhi2/backend/files/new-updates-sync
> @@ -22,7 +22,16 @@ ATOMICDEST = '/mnt/koji/atomic/'
>  RELEASES = {'f27': {'topic': 'fedora',
>                      'version': '27',
>                      'modules': ['fedora', 'fedora-secondary'],
> -                    'repos': {'updates-testing': {
> +                    'repos': {'updates': {
> +                        'from': 'f27-updates',
> +                        'ostree': {'ref':
> 'fedora/27/x86_64/updates/atomic-host',
> +                                   'dest': os.path.join(ATOMICDEST,
> '27')},
> +                        'to': [{'arches': ['x86_64',
> 'armhfp', 'source'],
> +                                'dest': os.path.join(FEDORADEST, '27')},
> +                               {'arches': ['aarch64', 'i386',
> 'ppc64', 'ppc64le', 's390x'],
> +                                'dest': os.path.join(FEDORAALTDEST,
> '27')}
> +                              ]},
> +                              'updates-testing': {
>                          'from': 'f27-updates-testing',
>                          'ostree': {'ref':
> 'fedora/27/x86_64/testing/atomic-host',
>                                     'dest': os.path.join(ATOMICDEST,
> '27')},

+1, but do note that with the current way the script works, this must be pushed live at a specific time because of things I left out of the sync script so far.
Basically, this needs to be put in place when the masher is waiting for the master mirror to be updated, so just after the compose finishes and is staged.
I will handle this for now.
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux