Re: FBR: Sync out drpms

2017-11-04 Thread Stephen John Smoogen
+1 fix it

On 4 November 2017 at 15:13, Patrick Uiterwijk  wrote:
> Hi,
>
> Can I get +1s to update the updates sync script to sync out
> Pungi-generated drpms?
>
> Patrick
>
>
> diff --git a/roles/bodhi2/backend/files/new-updates-sync
> b/roles/bodhi2/backend/files/new-updates-sync
> index e3439a0a0..c1c4378d5 100755
> --- a/roles/bodhi2/backend/files/new-updates-sync
> +++ b/roles/bodhi2/backend/files/new-updates-sync
> @@ -205,6 +205,8 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
>
>  results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
>   os.path.join(dest_path)))
> +results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
> + os.path.join(dest_path)))
>  if arch != 'source':
>  results.append(rsync(os.path.join(source_path, 'debug',
> 'tree', 'Packages'),
>   os.path.join(dest_path, 'debug')))
> @@ -220,6 +222,9 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
>  results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
>   os.path.join(dest_path),
>   delete=True))
> +results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
> + os.path.join(dest_path)),
> + delete=True)
>
>  return collect_stats(results)
> ___
> infrastructure mailing list -- infrastructure@lists.fedoraproject.org
> To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org



-- 
Stephen J Smoogen.
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Sync out drpms

2017-11-04 Thread Pierre-Yves Chibon
On Sat, Nov 04, 2017 at 08:13:57PM +0100, Patrick Uiterwijk wrote:
> Hi,
> 
> Can I get +1s to update the updates sync script to sync out
> Pungi-generated drpms?
> 
> Patrick
> 
> 
> diff --git a/roles/bodhi2/backend/files/new-updates-sync
> b/roles/bodhi2/backend/files/new-updates-sync
> index e3439a0a0..c1c4378d5 100755
> --- a/roles/bodhi2/backend/files/new-updates-sync
> +++ b/roles/bodhi2/backend/files/new-updates-sync
> @@ -205,6 +205,8 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
> 
>  results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
>   os.path.join(dest_path)))
> +results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
> + os.path.join(dest_path)))
>  if arch != 'source':
>  results.append(rsync(os.path.join(source_path, 'debug',
> 'tree', 'Packages'),
>   os.path.join(dest_path, 'debug')))
> @@ -220,6 +222,9 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
>  results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
>   os.path.join(dest_path),
>   delete=True))
> +results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
> + os.path.join(dest_path)),
> + delete=True)
> 

+1 for me


Pierre


signature.asc
Description: PGP signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


FBR: Sync out drpms

2017-11-04 Thread Patrick Uiterwijk
Hi,

Can I get +1s to update the updates sync script to sync out
Pungi-generated drpms?

Patrick


diff --git a/roles/bodhi2/backend/files/new-updates-sync
b/roles/bodhi2/backend/files/new-updates-sync
index e3439a0a0..c1c4378d5 100755
--- a/roles/bodhi2/backend/files/new-updates-sync
+++ b/roles/bodhi2/backend/files/new-updates-sync
@@ -205,6 +205,8 @@ def sync_single_repo_arch(release, repo, arch, dest_path):

 results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
  os.path.join(dest_path)))
+results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
+ os.path.join(dest_path)))
 if arch != 'source':
 results.append(rsync(os.path.join(source_path, 'debug',
'tree', 'Packages'),
  os.path.join(dest_path, 'debug')))
@@ -220,6 +222,9 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
 results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
  os.path.join(dest_path),
  delete=True))
+results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
+ os.path.join(dest_path)),
+ delete=True)

 return collect_stats(results)
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org