pyArchOps/OS updates

https://img.shields.io/pypi/v/pyarchops_os_updates.svg https://img.shields.io/gitlab/pipeline/gitlab-org/gitlab-ce/master.svg Documentation Status https://pyup.io/repos/github/pyarchops/os-updates/shield.svg

Install All OS updates

Features

  • Applies the latest packages on the OS.

Usage

import os
import pyarchops_os_updates

api = Api(
    '127.0.0.1:22',
    connection='smart',
    remote_user='root',
    private_key_file=os.getenv('HOME') + '/.ssh/id_rsa',
    become=True,
    become_user='root',
    sudo=True,
    ssh_extra_args='-o StrictHostKeyChecking=no'
)
result = pyarchops_os_updates.apply(api)
print(result)

Development

Install requirements:

$ sudo pacman -S tmux python-virtualenv python-pip libjpeg-turbo gcc make vim git tk tcl

Git clone this repository

$ git clone https://github.com/pyarchops/os-updates.git pyarchops.os-updates
$ cd pyarchops.os-updates
  1. See the Makefile, to get started simply execute:
$ make up

Credits

  • TODO