bin update
This commit is contained in:
parent
c2d6f5916b
commit
f09d885e7c
@ -8,17 +8,22 @@ joe git tmux
|
|||||||
synaptic
|
synaptic
|
||||||
neofetch
|
neofetch
|
||||||
sshfs curlftpfs libneon27
|
sshfs curlftpfs libneon27
|
||||||
|
openssh-server
|
||||||
|
nfs-kernel-server
|
||||||
keepass2 xdotool
|
keepass2 xdotool
|
||||||
tlp tlp-rdw
|
tlp tlp-rdw
|
||||||
lib32stdc++6
|
lib32stdc++6
|
||||||
powerline powerline-gitstatus
|
powerline powerline-gitstatus fonts-powerline
|
||||||
|
gnome-tweaks chrome-gnome-shell caffeine
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
||||||
MULTIMEDIA="
|
MULTIMEDIA="
|
||||||
kodi kodi-pvr-hts
|
kodi kodi-pvr-hts
|
||||||
ubuntu-restricted-extras libdvd-pkg
|
ubuntu-restricted-extras libdvd-pkg
|
||||||
ardour ubuntustudio-controls calf-plugins eq10q fluid-soundfont-gm fluid-soundfont-gs lame
|
ardour ubuntustudio-controls calf-plugins eq10q fluid-soundfont-gm fluid-soundfont-gs guitarix-ladspa swh-plugins
|
||||||
|
gxtuner
|
||||||
|
lame
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
||||||
@ -34,6 +39,7 @@ openscad freecad
|
|||||||
|
|
||||||
PROGRAMMING="
|
PROGRAMMING="
|
||||||
arduino
|
arduino
|
||||||
|
minicom
|
||||||
virtualenv
|
virtualenv
|
||||||
libgtk-3-dev
|
libgtk-3-dev
|
||||||
python3-pip
|
python3-pip
|
||||||
|
39
findrepos
Executable file
39
findrepos
Executable file
@ -0,0 +1,39 @@
|
|||||||
|
#!/home/dirk/bin/venv/bin/python
|
||||||
|
# -*- coding: UTF-8 -*-
|
||||||
|
|
||||||
|
import optparse
|
||||||
|
import os
|
||||||
|
|
||||||
|
repolist = []
|
||||||
|
|
||||||
|
|
||||||
|
def findrepos(p, **kwargs):
|
||||||
|
depth = kwargs.get('depth', 0)
|
||||||
|
max_depth = kwargs.get('max_depth')
|
||||||
|
ld = os.listdir(p)
|
||||||
|
if '.git' in ld:
|
||||||
|
if os.path.isdir(os.path.join(p, '.git')):
|
||||||
|
repolist.append(p)
|
||||||
|
return
|
||||||
|
else:
|
||||||
|
for entry in ld:
|
||||||
|
np = os.path.join(p, entry)
|
||||||
|
if os.path.isdir(np):
|
||||||
|
findrepos(np, depth=depth+1, max_depth=max_depth)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
parser = optparse.OptionParser("usage: %%prog target_path [opions]")
|
||||||
|
parser.add_option("-d", "--depth", dest="depth", default=None, type="int", help="Folder depth to search for a repo")
|
||||||
|
parser.add_option("-p", "--human-readable", dest="human_readable", action="store_true", default=False, help="Print a human readable list")
|
||||||
|
(options, args) = parser.parse_args()
|
||||||
|
|
||||||
|
if len(args) != 1:
|
||||||
|
parser.print_help()
|
||||||
|
else:
|
||||||
|
findrepos(args[0])
|
||||||
|
repolist.sort()
|
||||||
|
if options.human_readable:
|
||||||
|
print('- ' + '\n- '.join(repolist), '\n')
|
||||||
|
else:
|
||||||
|
print(' '.join(repolist))
|
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
jinja2
|
||||||
|
distro
|
@ -14,4 +14,5 @@ module_pathes = fstools.dirlist(MY_PATH, rekursive=False)
|
|||||||
module_pathes.sort()
|
module_pathes.sort()
|
||||||
sys.stdout.write(unittest.module_status.module_status_head())
|
sys.stdout.write(unittest.module_status.module_status_head())
|
||||||
for module_path in module_pathes:
|
for module_path in module_pathes:
|
||||||
sys.stdout.write(unittest.module_status.module_status_line(module_path))
|
if not os.path.basename(module_path) in ['.git', 'eclipse-workspace']:
|
||||||
|
sys.stdout.write(unittest.module_status.module_status_line(module_path))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user