[ 
https://issues.apache.org/jira/browse/ATTIC-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945910#comment-17945910
 ] 

ASF GitHub Bot commented on ATTIC-242:
--------------------------------------

sebbASF commented on code in PR #2153:
URL: 
https://github.com/apache/infrastructure-p6/pull/2153#discussion_r2051580712


##########
modules/cwiki_asf/manifests/init.pp:
##########
@@ -275,11 +275,11 @@
       recurse => 'true';
   }
 
-  # Fetch the retired project marker files
+  # Fetch the cwiki retired project marker files
   -> vcsrepo { '/etc/apache2/attic':
     ensure   => latest,
-    provider => svn,
-    source   => 'https://svn.apache.org/repos/asf/attic/site/cwiki_retired',
+    provider => git,
+    source   => 'https://github.com/apache/attic.git', # cwiki_retired/

Review Comment:
   This will checkout the whole of the Attic repo, but only one directory is 
needed.
   
   There has to be a better way to do this.
   
   For example, move (or copy on change) the cwiki_retired directory to an 
otherwise empty branch





> migrate remaining svn use
> -------------------------
>
>                 Key: ATTIC-242
>                 URL: https://issues.apache.org/jira/browse/ATTIC-242
>             Project: Attic
>          Issue Type: Task
>            Reporter: Herve Boutemy
>            Priority: Major
>
> with ATTIC-240, site content is fully managed in Git
> = mostly xdocs/ source and generated docs/ in 
> https://svn.apache.org/repos/asf/attic/site/
> now managed in https://github.com/apache/attic and 
> https://github.com/apache/attic/tree/asf-site
> svn remains actively used for 1 feature: cwiki banner, marked in 
> https://svn.apache.org/repos/asf/attic/site/cwiki_retired/
> this forced us to have a script to update svn content from Git when retenring 
> new projects = https://github.com/apache/attic/blob/main/sync-to-legacy-svn.sh
> it's now time to read the cwiki banner directly from Git, drop this svn sync 
> and finally mark svn RO



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to