{"id":25084005,"url":"https://github.com/aginies/grab_packages","last_synced_at":"2025-04-01T11:55:19.186Z","repository":{"id":271410844,"uuid":"913345208","full_name":"aginies/grab_packages","owner":"aginies","description":"Grab all src.rpm packages for a SLE product.","archived":false,"fork":false,"pushed_at":"2025-02-20T09:11:07.000Z","size":756,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T10:23:59.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aginies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-07T14:03:06.000Z","updated_at":"2025-02-20T09:11:10.000Z","dependencies_parsed_at":"2025-01-07T15:25:08.965Z","dependency_job_id":"7961a3c1-5983-4e48-8e82-92f3e6081e34","html_url":"https://github.com/aginies/grab_packages","commit_stats":null,"previous_names":["aginies/grab_packages"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aginies%2Fgrab_packages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aginies%2Fgrab_packages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aginies%2Fgrab_packages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aginies%2Fgrab_packages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aginies","download_url":"https://codeload.github.com/aginies/grab_packages/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635962,"owners_count":20809331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-07T06:45:48.362Z","updated_at":"2025-04-01T11:55:19.153Z","avatar_url":"https://github.com/aginies.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Goal\n\n**grab_packages.py** script download all **src.rpm** packages which match the pattern listed in the file **package.list** for wanted product.\nThis will store the source rpm package in the product name directory, ie: **SLE-15-SP6**. \nThis will download the latest version of the package in the **update** channel and also the initial package in **GA**.\nThe **package_comparison.py** script creates a table to compare the package SRPM of all packages across product.\n\n# Python module needed (grab_packages.py)\n\n**python3-tqdm**\n\n```bash\n# zypper in python3-tqdm\n```\n\n# How to use grab_packages.py\n\n```bash\n# chmod 755 grab_packages.py\n# ./grab_packages.py\n```\n![image](https://github.com/aginies/grab_packages/blob/298eb4d7c6916ce2030fa00aa79d5e4afa10d180/grab.jpg)\n\n# How to use package_comparison.py\n\n```bash\n# chmod 755 package_comparison.py\n# ./package_comparison.py\nPurpose:\nThis script compares SRPM versions of packages across multiple SUSE distributions.\nIt generates an HTML report with links to changelog and RPM diffs.\n\nUsage:\npython3 package_compare.py \u003cresult_dir\u003e \u003cpackage_list\u003e\n\nArguments:\n- result_dir: Path where results will be stored\n- package_list: File containing list of packages to compare\n\nThe script uses configuration from config.ini for product names and paths.\n\n# ./package_comparison.py result packages.list\n```\n\n![image](https://github.com/aginies/grab_packages/blob/c00d1620f6bdd47499a3ca0bb820685502528bb3/images/package_comparison.jpg)\n\n# Configuration\n\n## config.ini\n\n```\n[server]\n# paths to the repo which contains all the SLE repo\nurl = https://download.suse.de/ibs\npaths = SUSE:/{product_name}:/Update/standard/src, SUSE:/{product_name}:/GA/standard/src \n\n[files]\n# file which contains the pattern to match\npackages = packages.list\n\n[store]\n# base directory to store the src.rpm files, the product_names will also be used\npath = /run/media/aginies/d9d43b59-ccd6-42b2-909d-efd1341db80c/suse/\n\n[products]\nproduct_names = SLE-15-SP7, SLE-15-SP6, SLE-15-SP4, SLE-15-SP3, SLE-15-SP2, SLE-15-SP1, SLE-15, SLE-12-SP5, 16.0\n```\n\n## packages.list\n\n```\nhyper-v\nlibcap-ng\nlibcgroup1\nlibguestfs\nlibvirt\nlibvirt-glib\nlxc\nnetcontrol\nnumactl\nopen-ovf\nopen-vm-tools\nperl-Sys-Virt\npython-virtinst\nqemu\nsnpguest\nspice\nspice-gtk\nspice-protocol\nspice-vdagent\nlibguestfs\nvhostmd\nvirt-manager\nvirt-utils\nvirt-viewer\nvirt-top\nvm-install\nvirt-what\nvirt-v2v\nxen\nyast2-vm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faginies%2Fgrab_packages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faginies%2Fgrab_packages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faginies%2Fgrab_packages/lists"}