You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2018/11/16 17:09:58 UTC

[archiva-site] branch feature/site-git-migration updated (2afef74 -> 9aaf7a0)

This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a change to branch feature/site-git-migration
in repository https://gitbox.apache.org/repos/asf/archiva-site.git.


    from 2afef74  Adding publish script and checkout part
     new b2c27c0  Removing ant file
     new 9aaf7a0  Additional docu

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.adoc | 13 ++++++++++++-
 build.xml   | 43 -------------------------------------------
 2 files changed, 12 insertions(+), 44 deletions(-)
 delete mode 100644 build.xml


[archiva-site] 02/02: Additional docu

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch feature/site-git-migration
in repository https://gitbox.apache.org/repos/asf/archiva-site.git

commit 9aaf7a02a7dacce02fc56039379b8d00cd6571d4
Author: Martin Stockhammer <ma...@apache.org>
AuthorDate: Fri Nov 16 18:09:46 2018 +0100

    Additional docu
---
 README.adoc | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/README.adoc b/README.adoc
index 0b92a52..a33bbf7 100644
--- a/README.adoc
+++ b/README.adoc
@@ -27,7 +27,18 @@ The script is interactive, it asks you to confirm the publish after generation o
 
 All arguments are appended to the mvn calls.
 
-=== Run the mvn steps manually
+=== Run the steps manually
+
+==== Checkout the site-content directory
+
+ git clone <PATH TO archiva-web-content.git> site-content --no-checkout
+ git -C site-content config core.sparsecheckout true
+ git -C site-content config user.name <YOUR NAME>
+ git -C site-content config user.email <YOUR MAILADDRESS>
+
+Copy the +git-sparse-checkout-pattern+ file to +site-content/.git/info/sparse-checkout+
+
+ git -C site-content checkout --
 
 ==== Building the pages
 


[archiva-site] 01/02: Removing ant file

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch feature/site-git-migration
in repository https://gitbox.apache.org/repos/asf/archiva-site.git

commit b2c27c08856836ec6e35f1897f38e52efc4501dd
Author: Martin Stockhammer <ma...@apache.org>
AuthorDate: Fri Nov 16 18:03:00 2018 +0100

    Removing ant file
---
 build.xml | 43 -------------------------------------------
 1 file changed, 43 deletions(-)

diff --git a/build.xml b/build.xml
deleted file mode 100644
index 1c73181..0000000
--- a/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License.  You may obtain a copy of the License at
-  ~
-  ~  http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied.  See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->
-  
-<project default="preparecheckout">
-  <target name="svn">
-    <java classpath="${plugin_classpath}" classname="org.tmatesoft.svn.cli.SVN" fork="true">
-      <arg line="${arg}"/>
-    </java>
-  </target>
-  <target name="preparecheckout">
-    <antcall target="svn">
-      <param name="arg" value="checkout --depth immediates ${svnUrl} ${scmPubCheckoutDirectory}"/>
-    </antcall>
-    <antcall target="svn">
-      <param name="arg" value="update --set-depth exclude ${scmPubCheckoutDirectory}/ref ${scmPubCheckoutDirectory}/docs ${scmPubCheckoutDirectory}/redback" />
-    </antcall>
-
-    <pathconvert pathsep=" " property="dirs">
-      <dirset dir="${scmPubCheckoutDirectory}" includes="*" />
-    </pathconvert>
-    <antcall target="svn">
-      <param name="arg" value="update --set-depth infinity ${dirs}" />
-   </antcall>
-  </target>
-</project>
\ No newline at end of file