This is a simple software for fetching new changes to remote repositories automatically.

Overview

Git Autofetch

Git Autofetch is a simple software for fetching new changes from a repo to local repositories after a set time interval.

This program is responsible for checking the remote repo for changes and updating the local copy of the repo after a set delay (can be set in configs file later)

INSTALLATION

  1. Clone this repo. cloning the repo

  2. cd into the repo cloning the repo

  3. Run the install.py. This is important to create important files, and create paths dynamically.

    run python3 install.py

    This will create 3 files which are :

    S. No File Name Purpose
    1 configs.py Basic Configuration (Delay)
    2 projectlist.py To store the list of projects to update (local folder path)
    3 autofetch.service Service file to tell systemd to run our program in background

    cloning the repo

  4. Register Projects in the newly created projectlist.py

    For registering projects, you are required to add a _Project object1 in the PROJECT_LIST2, which will be available in projectlist.py file. You can give name, url and local path of the project as parameters to object.

    1. To create objects the syntax is as follows :

        _Project(
            path=/path/to/git/project/folder
        ),

    2. Do remember to add a comma after previous _Project object, or else it will give errors. [see below image line:7]

    cloning the repo

  5. Move the newly created autofetcher.service to systemd's folders.

    run sudo mv autofetch.service /lib/systemd/system/ cloning the repo

  6. Reload the systemd daemon.

    run sudo systemctl daemon-reload cloning the repo

  7. Start the service autofetcher.service

    run sudo systemctl start autofetcher

    cloning the repo

  8. Check the status of autofetcher service

    run sudo systemctl status autofetcher cloning the repo

  9. (optional) Enable the service autofetcher

    run sudo systemctl enable autofetcher

And you will have your autofetcher running.


ISSUES

In case of issues, please open an issue. Describe the following :

  1. Which OS are you trying this on ? (Windows\Mac\Linux)
  2. Steps you followed
  3. Run step 8, attach screenshot of errors
Owner
Shreyas Ashtamkar
Engineering Student, Last Year, 2021 passout. Interested Python, C++, C, Java, Javascript, and Web Design projects.
Shreyas Ashtamkar
A browser automation framework and ecosystem.

Selenium Selenium is an umbrella project encapsulating a variety of tools and libraries enabling web browser automation. Selenium specifically provide

Selenium 25.5k Jan 01, 2023
Declarative HTTP Testing for Python and anything else

Gabbi Release Notes Gabbi is a tool for running HTTP tests where requests and responses are represented in a declarative YAML-based form. The simplest

Chris Dent 139 Sep 21, 2022
Python package to easily work with selenium and manage tabs effectively.

Simple Selenium The aim of this package is to quickly get started with working with selenium for simple browser automation tasks. Installation Install

Vishal Kumar Mishra 1 Oct 27, 2021
Fully functioning price detector built with selenium and python

Fully functioning price detector built with selenium and python

mark sikaundi 4 Mar 30, 2022
Pymox - open source mock object framework for Python

Pymox is an open source mock object framework for Python. First Steps Installation Tutorial Documentation http://pymox.readthedocs.io/en/latest/index.

Ivan Rocha 7 Feb 02, 2022
The Good Old Days. | Testing Out A New Module-

The-Good-Old-Days. The Good Old Days. | Testing Out A New Module- Installation Asciimatics supports Python versions 2 & 3. For the precise list of tes

Syntax. 2 Jun 08, 2022
Kent - Fake Sentry server for local development, debugging, and integration testing

Kent is a service for debugging and integration testing Sentry.

Will Kahn-Greene 100 Dec 15, 2022
This repository has automation content to test Arista devices.

Network tests automation Network tests automation About this repository Requirements Requirements on your laptop Requirements on the switches Quick te

Netdevops Community 17 Nov 04, 2022
A utility for mocking out the Python Requests library.

Responses A utility library for mocking out the requests Python library. Note Responses requires Python 2.7 or newer, and requests = 2.0 Installing p

Sentry 3.8k Jan 03, 2023
A pytest plugin to skip `@pytest.mark.slow` tests by default.

pytest-skip-slow A pytest plugin to skip @pytest.mark.slow tests by default. Include the slow tests with --slow. Installation $ pip install pytest-ski

Brian Okken 19 Jan 04, 2023
Mock smart contracts for writing Ethereum test suites

Mock smart contracts for writing Ethereum test suites This package contains comm

Trading Strategy 222 Jan 04, 2023
To automate the generation and validation tests of COSE/CBOR Codes and it's base45/2D Code representations

To automate the generation and validation tests of COSE/CBOR Codes and it's base45/2D Code representations, a lot of data has to be collected to ensure the variance of the tests. This respository was

160 Jul 25, 2022
Android automation project with pytest+appium

Android automation project with pytest+appium

1 Oct 28, 2021
Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)

Leon 3.5k Dec 30, 2022
Testing Calculations in Python, using OOP (Object-Oriented Programming)

Testing Calculations in Python, using OOP (Object-Oriented Programming) Create environment with venv python3 -m venv venv Activate environment . venv

William Koller 1 Nov 11, 2021
A grab-bag of nifty pytest plugins

A goody-bag of nifty plugins for pytest OS Build Coverage Plugin Description Supported OS pytest-server-fixtures Extensible server-running framework w

Man Group 492 Jan 03, 2023
Automating the process of sorting files in my downloads folder by file type.

downloads-folder-automation Automating the process of sorting files in a user's downloads folder on Windows by file type. This script iterates through

Eric Mahasi 27 Jan 07, 2023
Useful additions to Django's default TestCase

django-test-plus Useful additions to Django's default TestCase from REVSYS Rationale Let's face it, writing tests isn't always fun. Part of the reason

REVSYS 546 Dec 22, 2022
Automates hiketop+ crystal earning using python and appium

hikepy Works on poco x3 idk about your device deponds on resolution Prerquests Android sdk java adb Setup Go to https://appium.io/ Download and instal

4 Aug 26, 2022
Selects tests affected by changed files. Continous test runner when used with pytest-watch.

This is a pytest plug-in which automatically selects and re-executes only tests affected by recent changes. How is this possible in dynamic language l

Tibor Arpas 614 Dec 30, 2022