Skip to main content

Tools for developing git-managed software

Project description

Leytonium

Tools for developing git-managed software

Install

These are generic installation instructions.

To use, permanently

The quickest way to get started is to install the current release from PyPI:

pip3 install --user Leytonium

To use, temporarily

If you prefer to keep .local clean, install to a virtualenv:

python3 -m venv venvname
venvname/bin/pip install Leytonium
. venvname/bin/activate

To develop

First clone the repo using HTTP or SSH:

git clone https://github.com/combatopera/Leytonium.git
git clone git@github.com:combatopera/Leytonium.git

Now use pyven's pipify to create a setup.py, which pip can then use to install the project editably:

python3 -m venv pyvenvenv
pyvenvenv/bin/pip install pyven
pyvenvenv/bin/pipify Leytonium

python3 -m venv venvname
venvname/bin/pip install -e Leytonium
. venvname/bin/activate

Commands

abandon

Discard all local changes, with confirmation step.

agi

Search for identifier in project.

agil

Edit project files containing identifier.

autopull

Pull master and releases with automatic stash and switch.

awslogs

Reconstruct logs from AWS CloudWatch.

bashrc

To eval in your .bashrc file.

br

Create given branch with completion and dashes, show menu for parent.

brown

Satisfy PEP 8 with minimal impact.

ci

Commit with the given args as message.

co

Switch to the given branch, with completion.

d

Show local changes.

diffuse

Compare an arbitrary number of text files.

dp

Diff from public branch.

drclean

Delete Docker assets.

drop

Drop this branch.

drst

Show Docker assets.

dup

Apply the last slammed commit.

dx

Diff from parent branch or from passed-in commit number.

dxx

Short diff from parent branch or of passed-in commit number.

eb

Rebase on the given branch with completion, or parent with confirmation.

examine

Open a shell in a throwaway container of the given image.

fetchall

Fetch all remotes of projects in directory.

fixemails

Replace author and committer emails of repo user in history.

gag

Run ag on all build.gradle files.

gimports

Stage all imports-only changes and show them.

git-completion-path

Get path to git completion file, used by scripts.

git-functions-path

Get path to git functions file, used by scripts.

gt

Stage all outgoing changes and show them.

halp

You're looking at it!

hgcommit

Commit hook to push to central clone of repo on local network.

insertshlvl

Insert SHLVL indicator into given prompt.

isotime

Filter UNIX timestamps to human-readable form.

ks

Create a kitchen-sink branch.

mdview

Render Markdown file in browser.

multimerge

Merge master into all PRs and carrion.

n

Switch to the next branch and run st.

next

Go to next step in current git workflow.

pb

Find parent branch.

pd

Diff from public branch, the other way.

prepare

Create a master-based branch from this non-master-based one.

publish

Publish this branch, accepts push options.

pullall

Pull all branches of projects in directory.

pushall

Push (using hgcommit) all branches of projects in directory.

rd

Run git add on conflicted path(s), with completion.

rdx

Run git rm on conflicted path, with completion.

readjust

Set system clock to correct time.

reks

Rebase on a new kitchen-sink branch.

ren

Rename current branch.

resimp

Resolve conflicts in imports and adjacent-line conflicts.

rol

Move given slammed commit (default top) to the bottom.

rx

Restore given file to parent branch version.

scrape85

Extract Adobe Ascii85-encoded images from given file.

scrub

Remove all untracked items, including the git-ignored.

setparent

Change declared parent of current branch.

shove

Update a latest tag in ECR with the given image.

show

Show a commit that was listed by st.

showstash

Show stash as patch.

slam

Reset branch to given commit number.

spamtrash

Delete spam emails.

splitpkgs

Show packages that exist in more than one module.

squash

Semi-interactively squash a most-recent chunk of commits.

st

Show list of branches and outgoing changes.

stacks

Compare stack traces across build logs.

stmulti

Short status of all shallow projects in directory.

t

Show tree with 1 level of hidden files.

taskding

Play a sound when a long-running child of shell terminates.

tempvenv

Activate a temporary venv.

touchb

Give the current branch its own identity.

unpub

Unpublish this branch.

unslam

Cherry-pick commits lost in a previous slam.

upgrade

Upgrade the system and silence the nag.

vpn

Start openvpn in background.

vunzip

Extract a Docker volume.

watchdesk

Different background for each desktop.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Leytonium-7.tar.gz (121.8 kB view details)

Uploaded Source

Built Distribution

Leytonium-7-py3-none-any.whl (164.2 kB view details)

Uploaded Python 3

File details

Details for the file Leytonium-7.tar.gz.

File metadata

  • Download URL: Leytonium-7.tar.gz
  • Upload date:
  • Size: 121.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.9

File hashes

Hashes for Leytonium-7.tar.gz
Algorithm Hash digest
SHA256 96c0ee34800d4c44b6a83eed2eadf317da632759dc076d29cdcd35f1fb5f8dae
MD5 b14cd23fb42b55c03e55da9fbc91376e
BLAKE2b-256 baff813476070ae20c36ac83c3ca504dea80d67d60eb36d9279827b307b2e3d5

See more details on using hashes here.

File details

Details for the file Leytonium-7-py3-none-any.whl.

File metadata

  • Download URL: Leytonium-7-py3-none-any.whl
  • Upload date:
  • Size: 164.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.9

File hashes

Hashes for Leytonium-7-py3-none-any.whl
Algorithm Hash digest
SHA256 987d4398e8c9c8850be6e73f6122638ac3a86d5497c61cf72f4742ac2aee4976
MD5 d18097459460210934475f47f0636e4f
BLAKE2b-256 2eb1a6f6587cb68fda507f99bb1e634bfe3faa38a9384fe3a49adbc412fff67a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page