This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Migration from SVN to Git == | |
This operation will require a fair amount of disk. Each copy of the overall jbosstools-svn-mirror git repo is about 2.6Gb. | |
After the migration, Freemarker was only 4.4Mb. | |
1. Check out entire git repo: | |
git clone git@github.com:jbosstools/jbosstools-svn-mirror.git | |
or | |
git clone https://github.com/jbosstools/jbosstools-svn-mirror.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== Installation === | |
Fire up JBDS. Install EGit and the github connector, eg., from Central > Software/Update. Restart when prompted | |
=== Checking out a new project === | |
File > Import > Git > Projects from Git > Next | |
GitHub > Next > "nickboldt/freemarker" > Search > select repo > Next | |
Select branches to fetch > Next > Next > Next > Finish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# for new workspace: | |
# cd ~/eclipse/42clean; ./e e | |
# to reuse workspace: | |
# cd ~/eclipse/42clean; ./e | |
# to pass in -vmargs flags | |
# cd ~/eclipse/42clean; ./e e "-Dsomething=somevalue" | |
# or | |
# cd ~/eclipse/42clean; ./e "-Dsomething=somevalue" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, add this to your .gitconfig file: | |
[alias] | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(blue)%aE%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative | |
Next, ensure you have the correct remotes configured for your local repo, eg. one for every user from which you'll pull a PR, and an origin: | |
$➔ git remote -v | |
${GITUSER} git@github.com:nickboldt/jbosstools-build.git (fetch) | |
${GITUSER} git@github.com:nickboldt/jbosstools-build.git (push) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, add this to your .gitconfig file: | |
[alias] | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(blue)%aE%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative | |
Next, ensure you have the correct remotes configured for your local repo, eg. one for every user from which you'll pull a PR, and an origin: | |
$➔ git remote -v | |
mistria git://github.com/mickaelistria/jbosstools-build.git (fetch) | |
mistria git://github.com/mickaelistria/jbosstools-build.git (push) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bashrc | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 4 steps in git workflow: prepare for work, (do work), pull-request, apply pull-request, drop topic branch | |
#alias gw1='~/bin/gitwork.sh 1 -t $topic -b $branch' | |
# do work after step 1 | |
#alias gw2='~/bin/gitwork.sh 2 -t $topic -b $branch' | |
#alias gw3='~/bin/gitwork.sh 3 -t $topic -b $branch' | |
#alias gw4='~/bin/gitwork.sh 4 -t $topic -b $branch' | |
usage () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set path where you have JBDS 5 installed | |
JBDS5=${HOME}/jbdevstudio/studio | |
# fix plugin | |
cd ${JBDS5}/plugins/ | |
cp org.jboss.ide.eclipse.as.core_2.3.1.v20120715-0243-H142-Final.jar org.jboss.ide.eclipse.as.core_2.3.1.v20120715-0243-H142-Final_patched_JBDS-2394.jar | |
unzip org.jboss.ide.eclipse.as.core_2.3.1.v20120715-0243-H142-Final_patched_JBDS-2394.jar -d org.jboss.ide.eclipse.as.core_2.3.1.v20120715-0243-H142-Final_patched_JBDS-2394 | |
cd ${JBDS5}/plugins/org.jboss.ide.eclipse.as.core_2.3.1.v20120715-0243-H142-Final_patched_JBDS-2394 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo "usage: $0 \"<dir(s)>\" <-d|-DISABLE|-e|-ENABLE> \"--include <include paths>\" \"--exclude <exclude paths>\""; echo ""; | |
echo "example: $0 . -d --include \"component|updatesite|aggregate\" --exclude \"xulrunner\" "; echo ""; | |
exit 1; | |
fi | |
# files to change | |
dirs="."; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn -Dtycho.mode=maven org.sonatype.tycho:tycho-versions-plugin:set-version -DnewVersion=x.y.z-SNAPSHOT |
OlderNewer