#123 Couple of miscellaneous changes
Merged 3 years ago by pingou. Opened 3 years ago by pingou.

file modified
+1 -1
@@ -8,7 +8,7 @@ 

  

  RUN dnf -y install python3-aiohttp python3-requests python3-fedora-messaging python3-uvloop python3-pip python3-gunicorn\

      && dnf clean all \

-     && pip3 install aiosqlite

+     && pip3 install aiosqlite mdapi-messages

  

  ENV MDAPI_CONFIG=/etc/mdapi/mdapi.cfg

  COPY . /code

file modified
+6 -5
@@ -467,10 +467,6 @@ 

          requests.packages.urllib3.disable_warnings()

  

      repositories = []

-     # Get the koji repo

-     repositories.append(

-         (f'{KOJI_REPO}/rawhide/latest/x86_64/repodata', 'koji')

-     )

  

      # Get the development repos (rawhide + eventually Fn+1 branched)

      dev_releases = list_branches(status='Under Development')
@@ -526,6 +522,11 @@ 

              rurl = rurl.replace('/x86_64/os', '/source/tree')

              repositories.append((rurl, f'src_{name}'))

  

+     # Finish with the koji repo

+     repositories.append(

+         (f'{KOJI_REPO}/rawhide/latest/x86_64/repodata', 'koji')

+     )

+ 

      # In parallel

      # p = multiprocessing.Pool(10)

      # p.map(process_repo, repositories)
@@ -551,4 +552,4 @@ 

  

  

  if __name__ == '__main__':

-     main() 

\ No newline at end of file

+     main()

no initial comment

Didn't take the code for a spin but LGTM code-wise.

Pull-Request has been merged by pingou

3 years ago
Metadata