Giter VIP home page Giter VIP logo

python-aptly-gui's Introduction

python-aptly-gui

GUI for Aptly

Presentation

The main goal of python-aptly-gui is to maintain and manage Aptly and its publishes.

It becomes easy to promote, remove and add packages to publishes and their components.

Features

  • Remove or add packages from publishes
  • Promote packages from one publish to another publish
  • Promote components across publishes
  • Purge publishes and repositories
  • Python 3

Installation --------

# it is necessary to install a newer python-apt
apt-get install python3-apt
pip3 install git+https://github.com/chnyda/python-aptly-gui.git

Usage

aptly-gui

python-aptly-gui's People

Contributors

chnyda avatar fpytloun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

python-aptly-gui's Issues

Exception during initial startup

There is an exception after entering aptly url and clicking "connect to aptly"

$ aptly-gui 
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/workers/aptly_workers.py", line 50, in run
    storage=publish.get('Storage', "local"))
  File "/usr/local/lib/python3.6/dist-packages/aptly/publisher/__init__.py", line 244, in __init__
    self.load()
  File "/usr/local/lib/python3.6/dist-packages/aptly/publisher/__init__.py", line 529, in load
    publish = self._get_publish()
  File "/usr/local/lib/python3.6/dist-packages/aptly/publisher/__init__.py", line 343, in _get_publish
    raise NoSuchPublish("Publish %s (%s) does not exist" % (self.name, self.storage or "local"))
aptly.exceptions.NoSuchPublish: Publish ./foreign (filesystem:full) does not exist
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/views/splash_screen.py", line 29, in load_main_window
    self.window = Window(self.dataManager)
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/views/main_window.py", line 19, in __init__
    self.tabs.addTab(RepositoryTab(dataManager), "Repository management")
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/views/repository_tab.py", line 26, in __init__
    self.load_repository()
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/views/repository_tab.py", line 39, in load_repository
    self.update_list()
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/views/repository_tab.py", line 47, in update_list
    if self.data_manager.repo_dict[current_repo]:
KeyError: '3722-v-fayle-zapisi-peregovorov-terminala-zapisyvaetsya-tishina'

Please let me know, if you need any extra info.

List_tab is missing

... in 10e99c2 and app is crashing on startup with

Traceback (most recent call last):
  File "/usr/local/bin/aptly-gui", line 11, in <module>
    load_entry_point('aptly-gui==0.1.0', 'console_scripts', 'aptly-gui')()
  File "/home/aol/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/aol/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2755, in load_entry_point
    return ep.load()
  File "/home/aol/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2409, in load
    return self.resolve()
  File "/home/aol/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2415, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/__main__.py", line 4, in <module>
    from aptlygui.views.splash_screen import SplashScreen
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/views/splash_screen.py", line 6, in <module>
    from aptlygui.views.main_window import Window
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/views/main_window.py", line 3, in <module>
    from aptlygui.views.snapshot_tab import SnapshotTab
  File "/usr/local/lib/python3.6/dist-packages/aptlygui/views/snapshot_tab.py", line 7, in <module>
    from aptlygui.widgets.list_tab import ListTab
ModuleNotFoundError: No module named 'aptlygui.widgets.list_tab'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.