Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
/ zebrapig-helpers Public archive

Misc scripts related to exherbo development process

Notifications You must be signed in to change notification settings

mk-fg/zebrapig-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

zebrapig-helpers: misc scripts related to exherbo linux development

paste_grabber

Inotify watcher for IRC logs' path (or glob pattern) for zebrapig patchbot "patch queue" ("!pq") requests.

Upon spotting a new request with a pastebin-link in it, stores paste contents into dst_path, with sha1 of the link as a basename (technically, "${link_sha1}.patch").

Purpose is to mirror transient and unreliable links to pastebin-like services to something more permanent. Currently that "more permanent" thing is a github-mirrored repo, exherbo-patches.

Requirements: Twisted Core, Twisted Web

Usage:

usage: paste_grabber.py [-h] [--debug] [--noise] path_mask dst_path

Watch IRC logs from a specified path and download all the zebrapig patchbot
requests to a given dst_path.

positional arguments:
  path_mask   Glob pattern of IRC logs to watch (can be a dir or dir-glob).
  dst_path    Dir to download all the patches to.

optional arguments:
  -h, --help  show this help message and exit
  --debug     Verbose operation mode.
  --noise     Even more verbose mode than --debug.

About

Misc scripts related to exherbo development process

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages