Skip to content

restartus/lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents generated with DocToc

Library

Github files

You should copy ./github to .github to get issue templates and workflow

Makefile includes

These are the standard includes:

include.mk is required and has help and configuration used for all

The others are for specific purposes:

include.python.mk is for python development include.airflow.mk for using Apache airflow include.docker.mk for docker managemen

Using repo installation

If you want to create a new repo then you need to:

  • link to setup.cfg
  • create a Makefile that refers to at least include.mk
  • the run make repo-init which will also add helper repos like bin, lib and docker

Installation

This library is used by the parallel richtong/bin repo and you should put them next to each other. Normally you want to fork the repo

cd ~/ws/git
gh fork git@github.com:richtong/lib
gh fork git@github.com:richtong/bin
cd src
git submodule add git@github.com/_yourrepo_/lib
git submodule add git@gihtub.com/_yourrepo_/bin
git submodule update --init lib bin
cd lib
git remote add upstream git@github.com/richtong/lib
cd ../bin
git remote add upstream git@github.com/richtong/bin

Then when you make a change or and want to merge from upstream then you just need to

cd ~/ws/git/_yourrepo_/bin
git pull --rebase upstream master
# deal with any conflict
git push

About

Standard library routines for shell, include and other files from @richtong

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published