You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by wa...@apache.org on 2025/03/11 19:13:41 UTC
(tooling-docs) branch main updated: Revert mermaid experiment
This is an automated email from the ASF dual-hosted git repository.
wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 6047a50 Revert mermaid experiment
6047a50 is described below
commit 6047a503ae14743ba065f28873d23b13239aa049
Author: Dave Fisher <da...@davefisher.tech>
AuthorDate: Tue Mar 11 12:13:34 2025 -0700
Revert mermaid experiment
---
content/js/mermaid.esm.min.js | 14 -----
content/pages/svn-dist.md | 111 ------------------------------------
content/theme/templates/footer.html | 3 -
3 files changed, 128 deletions(-)
diff --git a/content/js/mermaid.esm.min.js b/content/js/mermaid.esm.min.js
deleted file mode 100644
index 17d866a..0000000
--- a/content/js/mermaid.esm.min.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import{a as ht}from"./chunks/mermaid.esm.min/chunk-6CAUGOKZ.mjs";import{a as Yt}from"./chunks/mermaid.esm.min/chunk-3YFHLAX3.mjs";import{a as Ut,b as qt}from"./chunks/mermaid.esm.min/chunk-7LIB5WBN.mjs";import{a as Bt}from"./chunks/mermaid.esm.min/chunk-54VS5GG6.mjs";import"./chunks/mermaid.esm.min/chunk-ZUCAP7FR.mjs";import"./chunks/mermaid.esm.min/chunk-E7A2AWYO.mjs";import"./chunks/mermaid.esm.min/chunk-S67DUUA5.mjs";import"./chunks/mermaid.esm.min/chunk-LM6QDVU5.mjs";import{b as St}f [...]
-`);let i=Yt(r),o=i.append("g");i.attr("viewBox","0 0 2412 512"),Gt(i,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l [...]
-`;try{X(o)}catch{let g=Ct(o);if(!g)throw new Tt(`Diagram ${o} not found.`);let{id:y,diagram:p}=await g();G(y,p)}let{db:n,parser:m,renderer:s,init:c}=X(o);return m.parser&&(m.parser.yy=n),n.clear?.(),c?.(i),a.title&&n.setDiagramTitle?.(a.title),await m.parse(r),new t(o,r,n,m,s)}async render(r,a){await this.renderer.draw(this.text,r,a,this)}getParser(){return this.parser}getType(){return this.type}};var ge=[];var ue=e(()=>{ge.forEach(t=>{t()}),ge=[]},"attachFunctions");var De=e(t=>t.replac [...]
-`).replace(/<(\w+)([^>]*)>/g,(r,a,i)=>"<"+a+i.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),ei=e(t=>{let{text:r,metadata:a}=ye(t),{displayMode:i,title:o,config:n={}}=a;return i&&(n.gantt||(n.gantt={}),n.gantt.displayMode=i),{title:o,config:n,text:r}},"processFrontmatter"),ai=e(t=>{let r=z.detectInit(t)??{},a=z.detectDirective(t,"wrap");return Array.isArray(a)?r.wrap=a.some(({type:i})=>i==="wrap"):a?.type==="wrap"&&(r.wrap=!0),{text:Vt(t),directive:r}},"processDirectives");function L [...]
-.${t} ${r} { ${a.join(" !important; ")} !important; }`,"cssImportantStyles"),Ei=e((t,r=new Map)=>{let a="";if(t.themeCSS!==void 0&&(a+=`
-${t.themeCSS}`),t.fontFamily!==void 0&&(a+=`
-:root { --mermaid-font-family: ${t.fontFamily}}`),t.altFontFamily!==void 0&&(a+=`
-:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),r instanceof Map){let m=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];r.forEach(s=>{xt(s.styles)||m.forEach(c=>{a+=he(s.id,c,s.styles)}),xt(s.textStyles)||(a+=he(s.id,"tspan",(s?.textStyles||[]).map(c=>c.replace("color","fill"))))})}return a},"createCssStyles"),wi=e((t,r,a,i)=>{let o=Ei(t,a),n=zt(r,o,t.themeVariables);return pt(pe(`${i}{${n}}`),de)},"createUserStyles"),bi=e((t="", [...]
- ${Di}
-</iframe>`},"putIntoIFrame"),Ee=e((t,r,a,i,o)=>{let n=t.append("div");n.attr("id",a),i&&n.attr("style",i);let m=n.append("svg").attr("id",r).attr("width","100%").attr("xmlns",ci);return o&&m.attr("xmlns:xlink",o),m.append("g"),t},"appendDivSvgG");function we(t,r){return t.append("iframe").attr("id",r).attr("style","width: 100%; height: 100%;").attr("sandbox","")}e(we,"sandboxedIframe");var vi=e((t,r,a,i)=>{t.getElementById(r)?.remove(),t.getElementById(a)?.remove(),t.getElementById(i)?.r [...]
-/*! Check if previously processed */
-/*!
- * Wait for document loaded before starting the execution
- */
diff --git a/content/pages/svn-dist.md b/content/pages/svn-dist.md
deleted file mode 100644
index a5d04a2..0000000
--- a/content/pages/svn-dist.md
+++ /dev/null
@@ -1,111 +0,0 @@
-Title: Releases from SVN Dist
-license: https://www.apache.org/licenses/LICENSE-2.0
-
-# Legacy Releases from SVN Dist
-
-We have three types of Releases to create using a "Pull from 'Dist'" process.
-
-1. Release Candidates from `dist/dev` as the Release Manager requests from within the ATR Web UI.
-
-2. Current Releases from `dist/release` this will be used for the initial migration and may be used from time to time as PMCs use the old methods.
-
-3. Archived Releases which are migrated from the archive if not present in the Current Releases.
-
-## ATR Web UX
-
-We will need pages to perform tasks related to the use of our legacy setup.
-
-### PMC Management Page
-
-1. **Create Release Candidate** - upload the packages for a release candidate from `svn:dist/dev`. This page can also handle direct uploads.
-
-3. **Legacy Release** - upload an approved release from `svn:dist/release`.
-
-### System Admin Page
-
-1. **Synchronise Current Releases** - scan `svn:dist/release` and migrate any not in the ATR.
-
-2. **Sychronize Release Archive** - scan `archive` repository and migrate any archived not in the ATR as a Current or Archived Release.
-
-## Backends Hosting Release Artifacts
-
-The legacy domains are currently connected to `svn:dist/release` as follows:
-
-1. rsync.apache.org has a directory that updates a checkout of `svn:dist/release`
-2. downloads.apache.org periodically rsyncs with rsync.apache.org
-3. archive.apache.org periodically rsyncs with rsync.apache.org without removing artifacts from the destination.
-
-### Transitional Steps
-
-```mermaid
-flowchart TD
- subgraph Legacy
- A[svn:dist/release]
- B[rsync.apache.org]
- A -->|svn| B
- C[downloads.apache.org]
- D[archive.apache.org]
- B -->|rsync| C
- B -->|rsync| D
- end
-```
-
-1. **ATR writes to SVN** - ATR Releases write to `svn:dist/release` as an interim step.
-
-```mermaid
-flowchart TD
- subgraph Transition 1
- ATR[ATR]
- A[svn:dist/release]
- ATR -->|svn| A
- B[rsync.apache.org]
- A -->|svn| B
- C[downloads.apache.org]
- D[archive.apache.org]
- B -->|rsync| C
- B -->|rsync| D
- end
-```
-
-2. **ATR and Legacy are Integrated** - Insert ATR into the rsync chain.
- - ATR has a directory with the same organization as `svn:dist/release` using symbolic links to the Releases in the ATR Datastore.
- - ATR's rsync from rsync.apache.org should detect legacy release addition and deletion.
-
-```mermaid
-flowchart TD
- subgraph Transition 2
- A[svn:dist/release]
- B[rsync.apache.org]
- A -->|svn| B
- ATR[ATR]
- B -->|rsync| ATR
- C[downloads.apache.org]
- D[archive.apache.org]
- ATR -->|rsync| C
- ATR -->|rsync| D
- end
-```
-
-3. **Legacy is Retired** - `svn:dist/release` is retired.
-
-```mermaid
-flowchart TD
- subgraph Transition 3
- ATR[ATR]
- C[downloads.apache.org]
- D[archive.apache.org]
- ATR -->|rsync| C
- ATR -->|rsync| D
- end
-```
-
-4. **Further Integration** - downloads.apache.org is hosted on ATR.
-
-```mermaid
-flowchart TD
- subgraph Transition 4
- ATR[ATR]
- D[archive.apache.org]
- ATR -->|rsync| D
- end
-```
diff --git a/content/theme/templates/footer.html b/content/theme/templates/footer.html
index 0c131f7..40fe69e 100644
--- a/content/theme/templates/footer.html
+++ b/content/theme/templates/footer.html
@@ -8,6 +8,3 @@
</div>
</div>
<script type="application/ecmascript" src="/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"></script>
- <script type="module">
- import mermaid from '/js/mermaid.esm.min.js';
- </script>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org