Some Joomla….

module placeholders
web url + index.php?tp=1

better text editor
http://www.joomlacontenteditor.net/

 

Posted in General | Leave a comment

Example of sparsecheckout in Git

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

Posted in General | Leave a comment

Filtering commits using Gitective

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……”);
}
}

Posted in General | Leave a comment

CDO/Hibernate Store

combines:

  1. CDO:  distributed shared model framework for EMF models providing distributed transactionality, persistence, queries etc.
  2. Teneo: automatic object-relational mapping (with manual overrides using JPA Annotations)
  3. Hibernate: runtime object-relational mapping
Posted in MDE, Software Engineering | Leave a comment

Gitective! power of GIT through Java

I was using JGit to explore the revision history from my Java code…..found that this makes life easier  https://github.com/kevinsawicki/gitective

Posted in Software Engineering | Leave a comment

Git vs SVN vs CVS…….

  1. Git is a distributed revision control system.
  2. Each client clones the whole repository in the local system.
  3. This means each client has complete revision history and Git supports full revision tracking at blazing speeds……

 

Posted in Software Engineering | Leave a comment