[ https://issues.apache.org/jira/browse/LUCENE-8987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974728#comment-16974728 ]
Adam Walz commented on LUCENE-8987: ----------------------------------- Commented on the PRs. As for Apache License headers, I'm thinking of adding yaml front matter to all markdown files. The yaml will allow for more elaborate header settings - for instance multiline markdown in variables. I was going to use this for the solr security page by having variables for CVE, severity, versions affected, description, and mitigation. That way in jinja we can target each variable separately and format as a table rather than only having access to the markdown content. It will look something like this with the yaml front matter in {{```}} {code:java} ``` title: XML Bomb in Apache Solr versions prior to 5.0 CVE: CVE-2019-12401 severity: Medium versions_affected: | 1.3.0 to 1.4.1 3.1.0 to 3.6.2 4.0.0 to 4.10.4 mitigation: | * Upgrade to Apache Solr 5.0 or later. * Ensure your network settings are configured so that only trusted traffic is allowed to post documents to the running Solr instances. ``` Solr versions prior to 5.0.0 are vulnerable to an XML resource consumption attack (a.k.a. Lol Bomb) via it’s update handler. By leveraging XML DOCTYPE and ENTITY type elements, the attacker can create a pattern that will expand when the server parses the XML causing OOMs {code} Using front matter will also make it possible to include a license in each markdown file without affecting rendering. > Move Lucene web site from svn to git > ------------------------------------ > > Key: LUCENE-8987 > URL: https://issues.apache.org/jira/browse/LUCENE-8987 > Project: Lucene - Core > Issue Type: Task > Components: general/website > Reporter: Jan Høydahl > Assignee: Jan Høydahl > Priority: Major > Attachments: lucene-site-repo.png > > > INFRA just enabled [a new way of configuring website > build|https://s.apache.org/asfyaml] from a git branch, [see dev list > email|https://lists.apache.org/thread.html/b6f7e40bece5e83e27072ecc634a7815980c90240bc0a2ccb417f1fd@%3Cdev.lucene.apache.org%3E]. > It allows for automatic builds of both staging and production site, much > like the old CMS. We can choose to auto publish the html content of an > {{output/}} folder, or to have a bot build the site using > [Pelican|https://github.com/getpelican/pelican] from a {{content/}} folder. > The goal of this issue is to explore how this can be done for > [http://lucene.apache.org|http://lucene.apache.org/] by, by creating a new > git repo {{lucene-site}}, copy over the site from svn, see if it can be > "Pelicanized" easily and then test staging. Benefits are that more people > will be able to edit the web site and we can take PRs from the public (with > GitHub preview of pages). > Non-goals: > * Create a new web site or a new graphic design > * Change from Markdown to Asciidoc -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org