You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2014/04/27 10:21:45 UTC
svn commit: r1590356 - in /cayenne/site/cms/trunk/content/dev:
code-repository.mdtext eclipse.mdtext how_development_happens.mdtext
release-guide.mdtext
Author: aadamchik
Date: Sun Apr 27 08:21:44 2014
New Revision: 1590356
URL: http://svn.apache.org/r1590356
Log:
reflecting Git migration
Modified:
cayenne/site/cms/trunk/content/dev/code-repository.mdtext
cayenne/site/cms/trunk/content/dev/eclipse.mdtext
cayenne/site/cms/trunk/content/dev/how_development_happens.mdtext
cayenne/site/cms/trunk/content/dev/release-guide.mdtext
Modified: cayenne/site/cms/trunk/content/dev/code-repository.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/dev/code-repository.mdtext?rev=1590356&r1=1590355&r2=1590356&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/dev/code-repository.mdtext (original)
+++ cayenne/site/cms/trunk/content/dev/code-repository.mdtext Sun Apr 27 08:21:44 2014
@@ -1,45 +1,25 @@
Title: Code Repository
## Source Code Access
-Cayenne's source code is officially hosted in Subversion by the Apache
-Software Foundation. Read-only git is also supported for those looking for
-a distributed SCM.
+## Git Repository
+Cayenne uses Git for source control. To clone the code do this:
-### Subversion Repository
+ git clone https://git-wip-us.apache.org/repos/asf/cayenne.git
-Cayenne's code is held in a Subversion repository which can be accessed
-without login.
+To browse it on the we web, go to [https://git-wip-us.apache.org/repos/asf?p=cayenne.git](https://git-wip-us.apache.org/repos/asf?p=cayenne.git).
-* If you use Eclipse, see [Eclipse](eclipse.html)
- page for instructions on checking out multiple Cayenne projects.
-* More information on Apache subversion is available from [here](http://www.apache.org/dev/version-control.html)
+TODO: our mirror on GitHub is not yet up to date pending [https://issues.apache.org/jira/browse/INFRA-5936](https://issues.apache.org/jira/browse/INFRA-5936)
-Code is located here:
+### Legacy Subversion Repository
- |
---|--
-Anonymous Access | [http://svn.apache.org/repos/asf/cayenne/main/trunk/](http://svn.apache.org/repos/asf/cayenne/main/trunk/)
-Committer Access | [https://svn.apache.org/repos/asf/cayenne/main/trunk/](https://svn.apache.org/repos/asf/cayenne/main/trunk/)
-
-### Git Repository
-
-A read-only git mirror is also available for Cayenne. Committers can use
-the git mirror to commit to the official Subversion server through the use
-of git-svn.
+Cayenne, up to version 3.2M2, was developed in Subversion. For archival purposes SVN repository is still available
+in a read-only mode (see below). Note that it contains branches and tags for releases prior to 3.0.
+So if you are looking for those older releases, you will have to use SVN.
- |
+Access Type|URL
--|--
-git Clone URL | [git://git.apache.org/cayenne.git](git://git.apache.org/cayenne.git.html)
-HTTP Clone URL | [http://git.apache.org/cayenne.git](http://git.apache.org/cayenne.git)
-
-Once you clone the repository, you'll want to configure it to stay
-synchronized with the ASF Subversion server:
-
+Anonymous Access | [http://svn.apache.org/repos/asf/cayenne/main/](http://svn.apache.org/repos/asf/cayenne/main/)
+Committer Access | [https://svn.apache.org/repos/asf/cayenne/main/](https://svn.apache.org/repos/asf/cayenne/main/)
- git clone git://git.apache.org/cayenne
- cd cayenne/.git; wget http://git.apache.org/authors.txt; cd ..
- git config svn.authorsfile ".git/authors.txt"
- git svn init --prefix=origin/ --tags=tags --trunk=trunk --branches=branches https://svn.apache.org/repos/asf/cayenne/main
- git svn rebase
Modified: cayenne/site/cms/trunk/content/dev/eclipse.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/dev/eclipse.mdtext?rev=1590356&r1=1590355&r2=1590356&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/dev/eclipse.mdtext (original)
+++ cayenne/site/cms/trunk/content/dev/eclipse.mdtext Sun Apr 27 08:21:44 2014
@@ -2,7 +2,7 @@ Title: Eclipse
## Working with Cayenne code in Eclipse
-* Get code from Subversion and [build it from command line](building-cayenne.html)
+* Get code from Git and [build it from command line](building-cayenne.html)
to seed the local repository.
* Create a workspace outside of the main checkout folder.
* Install [Maven2 Eclipse plugin](http://www.sonatype.org/m2eclipse/)
Modified: cayenne/site/cms/trunk/content/dev/how_development_happens.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/dev/how_development_happens.mdtext?rev=1590356&r1=1590355&r2=1590356&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/dev/how_development_happens.mdtext (original)
+++ cayenne/site/cms/trunk/content/dev/how_development_happens.mdtext Sun Apr 27 08:21:44 2014
@@ -8,7 +8,7 @@ There are several levels of access to th
1. Documentation only access. Access to the Confluence system for creating
documentation means that these users are able to edit and create content
which then available on this web site and bundled with the download.
-1. Committers have direct access to SVN and are able to make changes to the
+1. Committers have direct access to Git and are able to make changes to the
entire source repository.
1. Project Management Committee (PMC) members have further responsibility
for the project as a whole and for ensuring that releases meet all the
Modified: cayenne/site/cms/trunk/content/dev/release-guide.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/dev/release-guide.mdtext?rev=1590356&r1=1590355&r2=1590356&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/dev/release-guide.mdtext (original)
+++ cayenne/site/cms/trunk/content/dev/release-guide.mdtext Sun Apr 27 08:21:44 2014
@@ -9,7 +9,7 @@ are also available for evaluation during
## Prerequisites
* A release manager must have his public key appended to the KEYS file
-checked in to SVN and the key published on one of the public key servers.
+checked in to source control and the key published on one of the public key servers.
More info can be found at [http://www.apache.org/dev/release-signing.html](http://www.apache.org/dev/release-signing.html)
* Make sure "apache-releases" repository is configured in
*~/.m2/settings.xml* and an appropriate password is setup. See [this page](http://www.apache.org/dev/publishing-maven-artifacts.html)
@@ -27,25 +27,13 @@ unpacked distro (or the release tag), re
java -jar rat-0.5.1.jar `pwd` > report.txt
## Tagging the Repo and Releasing Maven Artifacts
-
-* Get a trunk SVN checkout of Cayenne. If you are using *git* for
-development, SVN checkout is still needed to prepare a release with
-*maven-release-plugin*.
-
- svn co https://svn.apache.org/repos/asf/cayenne/main/trunk cayenne
-* Tag the SVN and Create Maven Staging Repository
+
+* Create a Git tag and Create Maven Staging Repository
cd cayenne
mvn release:clean
mvn release:prepare -DpreparationGoals="clean install" -DautoVersionSubmodules=true -Passembly,generic,mac,windows
-
-A problem [described in the documentation](http://www.apache.org/dev/publishing-maven-artifacts.html#prepare-release)
- consistently occurs here ... if you are in Europe: "If you're located in
-Europe then release:prepare may fail with 'Unable to tag SCM' and ' svn: No
-such revision X '. Wait 10 seconds and run mvn release:prepare again." It
-fails indeed, and requires a re-run and continue:
-
mvn release:perform -P gpg [-Dgpg.keyname=B8AF90BF]
* Close the staging repo. Login to [https://repository.apache.org/](https://repository.apache.org/) with
@@ -57,7 +45,7 @@ be used by the people voting on Cayenne.
## Releasing Downloadable Assemblies
-* Switch to the release tag created above in SVN or Git.
+* Switch to the release tag created above.
* Build source package (it will be the basis for the binary packages built
in the next steps) :