hrev50002 adds 3 changesets to branch 'master'
old head: 5692356be23e49fc23bfa7695103b0c544cd6789
new head: d780e243ad3f1ce3b550c373e598bee3715b8195
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=d780e243ad3f+%5E5692356be23e
----------------------------------------------------------------------------
39d6c466d821: dev-perso: remove unused password stuff
804718bbfbfe: dev-perso: check for git first
d780e243ad3f: dev-perso: check for a TODO list and print first 5 items
[ François Revol <revol@xxxxxxx> ]
----------------------------------------------------------------------------
1 file changed, 7 insertions(+), 15 deletions(-)
3rdparty/mmu_man/scripts/dev-perso | 22 +++++++---------------
############################################################################
Commit: 39d6c466d8217dcb3004074f29c27c60f0fa1ac1
URL: http://cgit.haiku-os.org/haiku/commit/?id=39d6c466d821
Author: François Revol <revol@xxxxxxx>
Date: Thu Jan 7 21:46:58 2016 UTC
dev-perso: remove unused password stuff
----------------------------------------------------------------------------
diff --git a/3rdparty/mmu_man/scripts/dev-perso
b/3rdparty/mmu_man/scripts/dev-perso
index bd9ecad..e849854 100755
--- a/3rdparty/mmu_man/scripts/dev-perso
+++ b/3rdparty/mmu_man/scripts/dev-perso
@@ -23,10 +23,6 @@
# - edit DRLIST below to include your own possible devroots
# (ie. where you have subfolders for your own projects)
# or export DEVROOT before sourcing dev-perso.
-# - optionally edit PWLIST below to where you possibly have a
-# PASSWDS/ folder with passwords stored as plain text.
-# (not really a good idea though :) It's exported
-# for use by project's .profile
# - optionally force EDITOR globally (for all projects)
# - for each project create a .profile in the subfolder,
# which might include commands like the following, but can remain empty.
@@ -38,9 +34,6 @@
# # force CVSROOT for this project
# export CVSROOT='...'
#
-# # shortcut to display password file for this svn
-# alias pass="cat $PASSWDS/myself.developer.berlios.de.pass"
-#
# # change to the source tree
# cd trunk
# # ease use of cd
@@ -61,13 +54,6 @@ if [ -z "$DEVROOT" ]; then
fi
export DEVROOT
-# automagically find password files
-PWLIST="/Data /fat32 $HOME"
-for d in $PWLIST; do
- test -d "$d/PASSWDS" && PASSWDS="$d/PASSWDS" && break;
-done
-export PASSWDS
-
# svn sometimes forgets about vi and wants me to use nano...
#export EDITOR=vim
############################################################################
Commit: 804718bbfbfe7b2b25f8af696c734755f8f57062
URL: http://cgit.haiku-os.org/haiku/commit/?id=804718bbfbfe
Author: François Revol <revol@xxxxxxx>
Date: Thu Jan 7 22:19:16 2016 UTC
dev-perso: check for git first
----------------------------------------------------------------------------
diff --git a/3rdparty/mmu_man/scripts/dev-perso
b/3rdparty/mmu_man/scripts/dev-perso
index e849854..4d6f497 100755
--- a/3rdparty/mmu_man/scripts/dev-perso
+++ b/3rdparty/mmu_man/scripts/dev-perso
@@ -140,10 +140,10 @@ dev() {
test -z "$EDITOR" -a -z "$SVN_EDITOR" && export EDITOR=vim
# make sure the update action is the first found in history.
+ test -z "$DEVUPCMD" -a -d .git && DEVUPCMD="git pull"
test -z "$DEVUPCMD" -a -d .svn && DEVUPCMD="svn up"
test -z "$DEVUPCMD" -a -d .bzr && DEVUPCMD="bzr update"
test -z "$DEVUPCMD" -a -d .hg && DEVUPCMD="hg pull"
- test -z "$DEVUPCMD" -a -d .git && DEVUPCMD="git pull"
test -z "$DEVUPCMD" -a -d CVS && DEVUPCMD="cvs up -d"
test -z "$DEVUPCMD" -a \( -f _FOSSIL_ -o -f .fslckout \) &&
DEVUPCMD="fossil update"
test -z "$DEVUPCMD" -a -n "$P4PORT" && DEVUPCMD="p4 sync"
############################################################################
Revision: hrev50002
Commit: d780e243ad3f1ce3b550c373e598bee3715b8195
URL: http://cgit.haiku-os.org/haiku/commit/?id=d780e243ad3f
Author: François Revol <revol@xxxxxxx>
Date: Thu Jan 7 22:23:11 2016 UTC
dev-perso: check for a TODO list and print first 5 items
----------------------------------------------------------------------------
diff --git a/3rdparty/mmu_man/scripts/dev-perso
b/3rdparty/mmu_man/scripts/dev-perso
index 4d6f497..b5a786d 100755
--- a/3rdparty/mmu_man/scripts/dev-perso
+++ b/3rdparty/mmu_man/scripts/dev-perso
@@ -131,9 +131,15 @@ dev() {
;;
esac
+ # check for a TODO list
+ for f in TODO TODO.org; do
+ test -e "$f" && grep '^* ' "$f" | grep --color=always ' TODO '
| head -5 && break
+ done
+
DEVUPCMD=""
# source the specific profile file
+ # (which will likely cd to the checkout directory)
test -f .profile && . .profile
# if no editor defined, set one