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

Sebb commented on INCUBATOR-231:
--------------------------------

When building locally, the process creates a lot of files under pages/clutch

It would be useful to exclude these using something like the following:

# Generated by clutch2.py:
/pages/clutch/_includes/*.ad
/pages/clutch/*.ad
# This page is maintained in Git
!/pages/clutch/index.ad

Alternatively, perhaps create the pages with a different suffix (but still 
processed as asciidoc, e.g. .adoc)
This would require changes to the includes, but would make clear which ones are 
temporary.

Yet another approach might be to commit the files to the repo.
As it is currently, clutch takes quite a long time to run.
Having copies in the repo would allow builds to occur without running clutch 
every time.

[Ideally clutch would only run if there was a change, but detecting that may be 
just as much effort.]

> Cleanup Git-generated Incubator website
> ---------------------------------------
>
>                 Key: INCUBATOR-231
>                 URL: https://issues.apache.org/jira/browse/INCUBATOR-231
>             Project: Incubator
>          Issue Type: Task
>            Reporter: Bertrand Delacretaz
>            Priority: Major
>         Attachments: clutch-analysis.tar.gz, clutch-pages.tar.gz, 
> clutch.py.diff.txt, clutch2data.txt, clutch2data.txt, clutch2status.txt, 
> gitbox.clutch.data.txt, gitbox.svn.diff.txt
>
>
> [http://incubator.apache.org/] is generated from 
> [https://github.com/apache/incubator] but a few things (clutch, project 
> pages) are still maintained under 
> [http://svn.apache.org/repos/asf/incubator/public/trunk/]
> We should cleanup and unify for consistency, and there's a number of folders 
> in svn that are not used anymore. Everything should move to Git to avoid 
> confusion.
> Also, a lot of the projects information in the XML files found under 
> [http://svn.apache.org/repos/asf/incubator/public/trunk/content/projects/] is 
> duplicated in other places, LDAP, podlings websites etc - it would be good to 
> clean that up and simplify those pages to adapt to our current workflows, 
> while preserving history where it makes sense.
> There are also YAML files with yet more duplicated information at 
> [http://svn.apache.org/repos/asf/incubator/public/trunk/content/podlings/] , 
> not sure if that's used or useful.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
For additional commands, e-mail: general-h...@incubator.apache.org

Reply via email to