Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Repo Manager 🧰

A simple terminal-based repository manager for openSUSE / SUSE Linux built with Python and the Rich library.

This tool provides an interactive menu to manage Zypper repositories easily from the terminal.


✨ Features

  • ➕ Add new repositories
  • 📋 List all repositories in a clean table
  • ♻️ Refresh repositories
  • ❎ Remove repositories
  • 🎨 Beautiful terminal UI using Rich

📦 Requirements

  • Python 3
  • openSUSE / SUSE Linux
  • zypper
  • Python package: rich

Install Rich:

pip install rich

🚀 Usage

Run the script:

python repo_manager.py

📸 Menu

===== Repo Manager =====

[1] ➕ Add Repo
[2] 📋 List Repo
[3] ♻️ Update (Refresh)
[4] ❎ Remove Repo
[5] 🚪 Exit

🔧 Functions

Add Repository

Adds a new Zypper repository using:

sudo zypper ar <repo_url> <repo_name>

List Repositories

Displays all configured repositories in a formatted Rich table.

Uses:

zypper lr

Refresh Repositories

Refreshes repository metadata.

Uses:

sudo zypper ref

Remove Repository

Removes a repository by alias/name.

Uses:

sudo zypper rr <repo_name>

📚 Example Repository

Packman repository:

http://packman.inode.at/suse/openSUSE_Tumbleweed/

🛠 Technologies Used

  • Python
  • Rich
  • subprocess
  • Zypper

⚠️ Notes

  • Some operations require sudo privileges.
  • This project is designed for educational and personal Linux administration use.


👨‍💻 Author

Made with mmlifo using Python and Rich.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages