module placeholders
web url + index.php?tp=1
better text editor
http://www.joomlacontenteditor.net/
I needed to checkout only one or some sub-directories in a Git repository…
the following checkouts only ‘mpris2-player’ sub-directory from the git repository…
url=”https://github.com/hugosenari/Kupfer-Plugins”
_gitroot=”git://github.com/hugosenari/Kupfer-Plugins”
_gitname=”Kupfer-Plugins”
mkdir ${_gitname}
cd ${_gitname}
git init
git remote add ${_gitname} ${_gitroot}
git config core.sparsecheckout true
echo mpris2-player >> .git/info/sparse-checkout
git pull ${_gitname} master
http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/
http://mailman.archlinux.org/pipermail/aur-general/2011-December/017100.html
public class JGitective {
private static final Logger log = LoggerFactory.getLogger(JGitective.class);
private String repositoryFolder = “C:/Users/ligaj/core/.git”;
@Test
public void testingjGetective(){
CommitMessageFindFilter messageFilter = new CommitMessageFindFilter(“bugs”);
CommitListFilter commits = new CommitListFilter();
CommitFinder finder = new CommitFinder(repositoryFolder);
finder.setFilter(new AndCommitFilter(messageFilter, commits));
finder.find();
Iterator<RevCommit> i = commits.getCommits().iterator();
RevCommit tempCommit;
while (i.hasNext()) {
tempCommit = (RevCommit)i.next();
log.info(tempCommit.getId() + “, ” + tempCommit.getAuthorIdent().getName() + “, ” + tempCommit.getFullMessage() +”;”);
}
log.info(commits.getCommits().size() + ” number of commits matched after filtering……”);
}
}
combines:
I was using JGit to explore the revision history from my Java code…..found that this makes life easier https://github.com/kevinsawicki/gitective