[TYPO3-v4] New Git submodule: Linkvalidator

Oliver Hader oliver.hader at typo3.org
Mon Dec 12 18:17:01 CET 2011


Hey everybody,

maybe you already noticed that the system extension linkvalidator has
been integrated as Git submodule in the the Git branches TYPO3_4-5,
TYPO3_4-6 and master.

Old changes on review.typo3.org (old = before linkvalidator was
integrated as submodule) have been rebased to avoid Git warnings on the
new file structure. These updates have been done automatically by using
a script - that script also summarized and add the previous votes for
each modified change-request on review.typo3.org.

Some notes on working with the new submodule:

1) Simply update the references
# git pull
# git submodule update --init

2) Get the most recent version of the branch
<branch> below will be master, TYPO3_4-5 or TYPO3_4-6
# cd typo3/sysext/linkvalidator/
# git fetch --all
# git checkout <branch>
# git pull

3) Setup to for contributing
Since using submodules represents another Git repository, this needs to
be configured and initialized as well. Change to the
typo3/sysext/linkvalidator/ directory and make sure that
.git/hooks/commit-msg is available there as well (see [1]).

4) Contribute changes to the linkvalidator project
* do your changes as usual
* but change to typo3/sysext/linkvalidator/ to push your changes
  (see previous note to get the most recent version)
* committing and pushing is the same as for the the Core repository
  # ...
  # git commit -a
  # git push origin HEAD:refs/for/<branch>/<issue-id>

Please let us know if you experienced any problems on working with that
new submodule or with submodules in general.

Cheers,
Olly

[1]
http://wiki.typo3.org/Contribution_Walkthrough_with_CommandLine#Setting_up_your_environment
-- 
Oliver Hader
TYPO3 v4 Core Team Leader

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org


More information about the TYPO3-project-v4 mailing list