pyreposync 0.2.3__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyreposync
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Orbit Api
5
5
  Project-URL: Source, https://github.com/schlitzered/pyreposync
6
6
  Author-email: "Stephan.Schultchen" <sschultchen@gmail.com>
@@ -14,9 +14,15 @@ loglevel = INFO
14
14
  #baseurl = https://mirror.23m.com/almalinux/9/BaseOS/x86_64/os/
15
15
  #tags = EXTERNAL,OS:AlmaLinux9,BASE,X86_64
16
16
 
17
- [RockyLinux/9/devel/x86_64:rpm]
17
+ #[RockyLinux/9/devel/x86_64:rpm]
18
+ ##baseurl = https://dl.rockylinux.org/pub/rocky/9/devel/x86_64/os/
19
+ ##baseurl = https://mirror.plusline.net/rockylinux/9/devel/x86_64/os/
20
+ #baseurl = https://mirror.23m.com/rocky/9/devel/x86_64/os/
21
+ #tags = EXTERNAL,OS:RockyLinux9,BASE,X86_64
22
+ #allow_missing_packages = true
23
+
24
+ [EL/8/epel/Everything/x86_64:rpm]
18
25
  #baseurl = https://dl.rockylinux.org/pub/rocky/9/devel/x86_64/os/
19
26
  #baseurl = https://mirror.plusline.net/rockylinux/9/devel/x86_64/os/
20
- baseurl = https://mirror.23m.com/rocky/9/devel/x86_64/os/
21
- tags = EXTERNAL,OS:RockyLinux9,BASE,X86_64
22
- allow_missing_packages = true
27
+ baseurl = https://ftp.hosteurope.de/mirror/fedora-epel/8/Everything/x86_64/
28
+ tags = EXTERNAL,OS:EL8,epel,X86_64
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "pyreposync"
7
- version = "0.2.3"
7
+ version = "0.2.4"
8
8
  requires-python = ">=3.9"
9
9
  authors = [
10
10
  {name = "Stephan.Schultchen", email = "sschultchen@gmail.com"},
@@ -65,7 +65,11 @@ class SyncRPM(SyncGeneric):
65
65
  root = xml.etree.ElementTree.parse(source).getroot()
66
66
  else:
67
67
  with open(primary, "rb") as source:
68
- root = xml.etree.ElementTree.parse(source).getroot()
68
+ try:
69
+ root = xml.etree.ElementTree.parse(source).getroot()
70
+ except xml.etree.ElementTree.ParseError as err:
71
+ self.log.fatal(f"could not parse {primary}: {err}")
72
+ raise OSRepoSyncException(f"could not parse {primary}: {err}")
69
73
  packages = root.findall("{http://linux.duke.edu/metadata/common}package")
70
74
  for package in packages:
71
75
  checksum = package.find("{http://linux.duke.edu/metadata/common}checksum")
File without changes
File without changes
File without changes
File without changes
File without changes