Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sagudelo1200/pusher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pusher

┌┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┐
│██████ ██  ██ ██████ ██  ██ ██████ ██████│
│██  ██ ██  ██ ██     ██  ██ ██     ██  ██│
│██████ ██  ██ ██████ ██████ ██████ ██████│
│██     ██  ██     ██ ██  ██ ██     ██ ██ │
│██     ██████ ██████ ██  ██ ██████ ██  ██│
└┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┘

Introduction:

Project developed in the Python programming language to automate the commits and the upload of files to the Github working repository, using Git.

Prerequisites:

For Pusher operation, it is necessary to have the hipposcraper installed.

Installation:

Do the following:

  1. Change to the directory where you installed hipposcraper
  2. Clone this repository: https://github.com/RedLyon1200/pusher.git
  3. Switch to the pusher directory (cd pusher/)
  4. Running the installation file ./setup_pusher.sh

Synopsis

pusher <option> [files]

How to execute pusher?

  1. In order for pusher to obtain the task data, the first thing to do is to execute the command tasker, followed by the project URL of the intranet.hbtn.io (this step should only be performed once per project).
  2. With the pusher command you must select one of the options listed below: -m: to upload files that are in a modified state.
    -n: to upload newly created files or files that are not within the repository.
    -a: to upload all files (new and changed).
  3. Optionally you can specify which file you want to upload, for example *.py, the default value when not specifying it is '*'
  4. Tell the program if you want to modify the commits or leave the default value generated by the tasker.
  5. Confirm whether you want to push files immediately or leave them for manual uploading with the git push command.

Author:

Santiago Agudelo Gaviria

Collaborator:

Marlon Aurelio García Morales

About

Pusher - Python script that automates uploading of Holberton project files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •