| <!doctype html> | |
| <html lang=''> | |
| <head> | |
| <meta charset='utf-8'> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="stylesheet" href="styles.css?v=1793826697"> | |
| <!-- these are needed for the menu bar --> | |
| <script src="js/jquery.js" type="text/javascript"></script> | |
| <script src="js/script.js?v=1793826592" type="text/javascript"></script> | |
| <script type="text/javascript" src="js/validate_form.js"></script> | |
| <script type="text/javascript" src="js/doap_editor.js?v=1793291178"></script> | |
| <style> | |
| #load_box { margin: 10px auto; padding: 10px 14px; border: 1px solid #ccc; background: #f8f8f8; max-width: 900px; } | |
| #load_status { font-size: 90%; color: #555; margin-top: 6px; } | |
| #load_status ul { margin: 4px 0 0 18px; } | |
| /* Responsive form: the table fills the available width instead of being | |
| sized by input size= attributes, and stacks into one column on phones. */ | |
| .formwrap { max-width: 1100px; margin: 0 auto; } | |
| table.doapform { width: 100%; border-collapse: collapse; table-layout: fixed; } | |
| table.doapform td { padding: 6px 8px; vertical-align: top; overflow-wrap: anywhere; } | |
| table.doapform td:first-child { width: 15%; font-weight: bold; } | |
| table.doapform td:last-child { width: 26%; font-size: 85%; } | |
| table.doapform input[type=text], table.doapform textarea, table.doapform select:not([multiple]) { | |
| max-width: 100%; box-sizing: border-box; } | |
| table.doapform textarea { width: 100%; } | |
| table.doapform .prefixed { display: flex; align-items: center; gap: 4px; } | |
| table.doapform .prefixed input { flex: 1; min-width: 0; width: auto; } | |
| table.doapform code.hint { word-break: break-all; } | |
| .doapform .repeat .row { margin: 3px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; } | |
| .doapform .repeat .row label { display: flex; align-items: center; gap: 4px; flex: 1 1 140px; min-width: 0; } | |
| .doapform .repeat .row label { white-space: nowrap; } | |
| .doapform .repeat .row input[type=text], .doapform .repeat .row label select { flex: 1; min-width: 0; width: auto; max-width: 100%; } | |
| /* Standards have four fields: lay them out as a 2x2 grid, remove button on the right */ | |
| .doapform .repeat[data-group="standard"] .row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 4px 10px; | |
| padding: 4px 0; border-bottom: 1px dotted #ccc; } | |
| .doapform .repeat[data-group="standard"] .row label { min-width: 0; } | |
| .doapform .repeat[data-group="standard"] .row button.rm { grid-column: 3; grid-row: 1 / span 2; align-self: center; } | |
| @media (max-width: 760px) { .doapform .repeat[data-group="standard"] .row { grid-template-columns: 1fr auto; } | |
| .doapform .repeat[data-group="standard"] .row button.rm { grid-column: 2; grid-row: 1 / span 4; } } | |
| .doapform .repeat .row > input[type=text] { flex: 1 1 200px; } | |
| #load_box select { max-width: 100%; } | |
| #doap_output { max-width: 100%; box-sizing: border-box; } | |
| @media (max-width: 760px) { | |
| table.doapform, table.doapform tbody, table.doapform tr, table.doapform td { display: block; width: auto !important; } | |
| table.doapform tr { border-bottom: 1px solid #ccc; padding: 4px 0; } | |
| table.doapform td { border: none; padding: 3px 6px; } | |
| table.doapform td:last-child:empty { display: none; } | |
| .doapform .checks { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } | |
| #load_box, #doap_preview, #publish { margin-left: 4px; margin-right: 4px; } | |
| } | |
| .doapform .repeat label { margin-right: 6px; font-size: 90%; } | |
| .doapform button.rm { border: none; background: none; color: #a00; cursor: pointer; font-size: 110%; } | |
| .doapform button.add { font-size: 85%; margin-top: 2px; } | |
| .doapform .checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px 14px; max-width: 560px; } | |
| .doapform .checks label { display: flex; align-items: flex-start; gap: 4px; font-size: 90%; line-height: 1.25; } | |
| .doapform .checks label input { margin: 2px 0 0; flex: none; } | |
| .doapform .checks label.extra { color: #a60; } | |
| td.selsum { font-size: 90%; color: #333; max-width: 220px; } | |
| #load_box .hint2 { font-size: 85%; color: #666; margin-top: 4px; } | |
| .doapform .hint2 { font-size: 85%; color: #666; } | |
| #guess_box { margin-top: 6px; font-size: 90%; } | |
| #guess_note { color: #666; margin-left: 6px; } | |
| #publish { max-width: 900px; margin: 10px auto; border: 1px solid #e6c84f; background: #fff8e0; padding: 4px 18px; border-radius: 4px; } | |
| #publish .pub_who { font-size: 90%; color: #555; } | |
| #publish pre { background: #fff; border: 1px solid #ddd; padding: 6px 10px; font-family: Inconsolata, Menlo, Consolas, monospace; overflow-x: auto; } | |
| code.hint { cursor: pointer; } code.hint:hover { text-decoration: underline; } | |
| code.hint.used { opacity: .45; cursor: default; text-decoration: none; } | |
| #doap_preview { max-width: 900px; margin: 20px auto; } | |
| #doap_output { position: relative; height: 420px; overflow: auto; margin: 0; padding: 6px 8px; border: 1px solid #aaa; background: #fff; | |
| font-family: Inconsolata, Menlo, Consolas, monospace; font-size: 13px; white-space: pre; } | |
| #doap_output .ln { display: block; min-height: 1.2em; } | |
| #doap_output .ln.flash { animation: doapflash 1.2s ease-out; } | |
| @keyframes doapflash { from { background: #ffe680; } to { background: transparent; } } | |
| </style> | |
| <title>DOAP Creation</title> | |
| </head> | |
| <body> | |
| <!-- Page Title --> | |
| <div id="logo"><h1><div style="padding-top: 30px;">DOAP Creation</div></h1></div> | |
| <div id='cssmenu'> | |
| </div> | |
| <!-- CONTENT --> | |
| <h2>Create an ASF DOAP File</h2> | |
| <div style="background:#fff3cd;border:1px solid #e0c36b;border-radius:6px;padding:10px 14px;margin:1em 0;"> | |
| <b>Project data now comes from the ASF release catalog.</b> projects.apache.org no longer reads DOAP files. | |
| To change your project's name, description, links, categories, languages or releases, edit it in | |
| <a href="https://releases.apache.org/">Apache Trusted Releases</a> (<code>releases.apache.org/projects/<key>?tab=metadata</code>; | |
| the key is shown in your project page's address) or in the <code>project: metadata:</code> block of your repository's | |
| <a href="https://github.com/apache/infrastructure-asfyaml#project-metadata">.asf.yaml</a>. | |
| An existing DOAP file can still feed ATR via <code>metadata: doap: <url></code>. | |
| </div> | |
| <p><i>This editor is kept for projects that still want a DOAP file, for example to link from <code>.asf.yaml</code>.</i></p> | |
| <div> | |
| <p>To be listed on this site, your Apache project must create a <a href="doap.html">DOAP | |
| file</a>. The DOAP format is RDF based, so while it is human readable, | |
| it's primarily meant to be machine read. Creating the file from | |
| scratch can be a little intimidating, so this page will allow you to | |
| generate an initial file that can then be edited to suit. | |
| Alternatively, you can browse the existing projects for one with | |
| similar resources and use its DOAP file as a starting point.</p> | |
| <h3> | |
| <a id="form"></a>DOAP Creation Form</h3> | |
| <div> | |
| <p>Before completing this form, you should really read the <a href="guidelines.html">guidelines</a>.</p> | |
| <div id="load_box"> | |
| <b>Already have a published DOAP file?</b> | |
| <select id="load_project"><option value="">Choose your project to load and edit it…</option></select> | |
| <input type="button" value="Clear form" onclick="resetForm();"> | |
| <div class="hint2">Starting a new one? Leave this alone and pick your committee in the form below – we'll fill in what we can.</div> | |
| <div id="load_status"></div> | |
| </div> | |
| <p>As you fill in the form, your DOAP file is built <a href="#preview">below it</a>. Copy or download it, then <a href="#submit">publish it</a>. | |
| The suggestions in the right-hand column follow ASF conventions for your PMC and project name; click one to use it.</p> | |
| <form name="make_doap" onsubmit="return false;"> | |
| <div class="formwrap"><table border="1" class="doapform"> | |
| <tr> | |
| <td>Project PMC</td> | |
| <td> | |
| <select name="pmc"> | |
| <option value="">Loading committees…</option> | |
| <!-- Filled in by js/doap_editor.js from json/foundation/committees.json --> | |
| </select> | |
| <div id="guess_box" style="display:none"> | |
| <span id="podling_wrap" style="display:none">Podling: <select id="podling_pick"><option value="">Choose…</option></select><br></span> | |
| <input type="button" id="guess_btn" value="Fill in best guesses"> | |
| <span id="guess_note"></span> | |
| </div> | |
| </td> | |
| <td></td> | |
| </tr> | |
| <tr><td>Project name</td><td><span class="prefixed"><span>Apache</span><input type="text" name="name" size="40" list="name_list" autocomplete="off"></span><datalist id="name_list"></datalist> | |
| <div id="name_note" class="hint2"></div></td><td><code class="hint" data-for="name" data-tpl="{Name}" title="Click to use this value"></code></td></tr> | |
| <tr><td>Project homepage</td><td><span class="prefixed"><span>https://</span><input type="text" name="homepage" size="60"></span></td><td><code class="hint" data-for="homepage" data-tpl="{pmc}.apache.org/{sub/}" title="Click to use this value"></code></td></tr> | |
| <tr><td>Short Description</td><td><textarea name="sdesc" cols="60" rows="2"></textarea></td><td></td></tr> | |
| <tr><td>Long Description</td><td><textarea name="ldesc" cols="60" rows="6"></textarea></td><td></td></tr> | |
| <tr><td valign="top">Repositories</td><td><div class="repeat" data-group="repo"></div><button type="button" class="add" data-add="repo">+ Add another repository</button></td> | |
| <td>Git: <code class="hint" data-for="repo.location" data-tpl="https://gitbox.apache.org/repos/asf/{repo}.git" data-type="GitRepository" title="Click to use this value"></code><br> | |
| <code class="hint" data-for="repo.browse" data-tpl="https://github.com/apache/{repo}" data-type="GitRepository" title="Click to use this value"></code><br> | |
| SVN: <code class="hint" data-for="repo.location" data-tpl="https://svn.apache.org/repos/asf/{pmc}/{sub/}" data-type="SVNRepository" title="Click to use this value"></code><br> | |
| <code class="hint" data-for="repo.browse" data-tpl="https://svn.apache.org/viewvc/{pmc}/{sub/}" data-type="SVNRepository" title="Click to use this value"></code></td></tr> | |
| <tr> | |
| <td valign="top">Categories</td> | |
| <td> | |
| <div class="checks" data-for="cat"></div> | |
| <select name="cat" multiple style="display:none"> | |
| <option value=""></option> | |
| <!-- Do not edit this file; update the file site/validation.json and run scripts/update_create.py --> | |
| <option value="big-data">Big Data</option> | |
| <option value="build-management">Build Management</option> | |
| <option value="cloud">Cloud</option> | |
| <option value="content">Content</option> | |
| <option value="database">Database</option> | |
| <option value="data-engineering">Data Engineering</option> | |
| <option value="geospatial">Geospatial</option> | |
| <option value="graphics">Graphics (including SVG, JPG, PNG etc)</option> | |
| <option value="http">HTTP protocol</option> | |
| <option value="httpd-module">HTTP Server module</option> | |
| <option value="iot">IoT/RTOS</option> | |
| <option value="javaee">Java EE</option> | |
| <option value="library">Code library</option> | |
| <option value="mail">Mail</option> | |
| <option value="mobile">Mobile</option> | |
| <option value="network-client">Network Client</option> | |
| <option value="network-server">Network Servers</option> | |
| <option value="osgi">OSGi</option> | |
| <option value="search">Search</option> | |
| <option value="security">Security</option> | |
| <option value="retired">Retired/Archived</option> | |
| <option value="testing">Testing</option> | |
| <option value="web-framework">Web Framework</option> | |
| <option value="xml">XML</option> | |
| </select> | |
| </td> | |
| <td class="selsum" data-sel="cat"></td> | |
| </tr> | |
| <tr> | |
| <td valign="top">Programming Languages</td> | |
| <td> | |
| <div class="checks" data-for="lang"></div> | |
| <select name="lang" multiple style="display:none"> | |
| <option value=""></option> | |
| <!-- Do not edit this file; update the file site/validation.json and run scripts/update_create.py --> | |
| <option value="ActionScript">ActionScript</option> | |
| <option value="C">C</option> | |
| <option value="C#">C#</option> | |
| <option value="C++">C++</option> | |
| <option value="Cocoa">Cocoa</option> | |
| <option value="D">D</option> | |
| <option value="Dart">Dart</option> | |
| <option value="Delphi">Delphi</option> | |
| <option value="Erlang">Erlang</option> | |
| <option value="Go">Go</option> | |
| <option value="Groovy">Groovy</option> | |
| <option value="Haskell">Haskell</option> | |
| <option value="Haxe">Haxe</option> | |
| <option value="Java">Java</option> | |
| <option value="JavaScript">JavaScript</option> | |
| <option value="Objective-C">Objective-C</option> | |
| <option value="OCaml">OCaml</option> | |
| <option value="Perl">Perl</option> | |
| <option value="PHP">PHP</option> | |
| <option value="Python">Python</option> | |
| <option value="R">R</option> | |
| <option value="Ruby">Ruby</option> | |
| <option value="Rust">Rust</option> | |
| <option value="Scala">Scala</option> | |
| <option value="Smalltalk">Smalltalk</option> | |
| <option value="SQL">SQL</option> | |
| <option value="SVG">SVG</option> | |
| <option value="Tcl">Tcl</option> | |
| <option value="Typescript">Typescript</option> | |
| <option value="XML">XML</option> | |
| </select> | |
| </td> | |
| <td class="selsum" data-sel="lang"></td> | |
| </tr> | |
| <tr><td valign="top">Bug Database URL</td><td><div class="repeat" data-group="bugdb"></div><button type="button" class="add" data-add="bugdb">+ Add another bug database</button></td> | |
| <td><code class="hint" data-for="bugdb.url" data-tpl="https://github.com/apache/{repo}/issues" title="Click to use this value"></code><br>or <code>https://issues.apache.org/jira/projects/[JIRA-ID]/</code></td></tr> | |
| <tr><td valign="top">Download Page URL</td><td><div class="repeat" data-group="dl"></div><button type="button" class="add" data-add="dl">+ Add another download page</button></td><td><code class="hint" data-for="dl.url" data-tpl="https://{pmc}.apache.org/{sub/}download.html" title="Click to use this value"></code></td></tr> | |
| <tr><td valign="top">Mailing Lists Page URL</td><td><div class="repeat" data-group="mail"></div><button type="button" class="add" data-add="mail">+ Add another mailing list page</button></td><td><code class="hint" data-for="mail.url" data-tpl="https://{pmc}.apache.org/{sub/}mailing-lists.html" title="Click to use this value"></code></td></tr> | |
| <tr><td valign="top">Releases</td><td><div class="repeat" data-group="release"></div><button type="button" class="add" data-add="release">+ Add another release</button></td><td>Newest first</td></tr> | |
| <tr><td valign="top">Implemented Standards</td><td><div class="repeat" data-group="standard"></div><button type="button" class="add" data-add="standard">+ Add another standard</button></td><td></td></tr> | |
| </table></div> | |
| <select id="std_body_tpl" style="display:none"> | |
| <option value=""></option> | |
| <option value="Adobe Systems Incorporated">Adobe Systems Incorporated</option> | |
| <option value="IETF">Internet Engineering Task Force (IETF)</option> | |
| <option value="JCP">Java Community Process</option> | |
| <option value="Microsoft">Microsoft</option> | |
| <option value="OASIS">Organization for the Advancement of Structured Information Standards</option> | |
| <option value="OSGi">OSGi Alliance</option> | |
| <option value="W3C">World Wide Web Consortium</option> | |
| </select> | |
| </form> | |
| <div id="doap_preview"> | |
| <h3><a id="preview"></a>Your DOAP file</h3> | |
| <p>This updates as you edit the form. Copy it into <code id="doap_filename">doap_projectName.rdf</code> | |
| in your project's repository, or download it.</p> | |
| <pre id="doap_output" tabindex="0"></pre> | |
| <p><input type="button" id="copy_btn" value="Copy to clipboard" onclick="copyDoap();"> | |
| <input type="button" value="Download" onclick="downloadDoap();"></p> | |
| </div> | |
| </div> | |
| <div class="section" id="publish"> | |
| <h3><a id="submit"></a>Publish your file</h3> | |
| <p class="pub_who">Anyone can draft a DOAP file here, but only the project's committers can publish it. | |
| Not a committer on this project? Send the file to the project's dev@ mailing list<span id="next_dev"></span><span id="next_pr"></span> | |
| and they'll take it from there – thank you for helping!</p> | |
| <div id="pub_existing" style="display:none"> | |
| <p>Your project already publishes a DOAP file at<br><a id="pub_url" href="#"></a></p> | |
| <p>To update it, replace that file with the one above and commit<span id="pub_edit"></span>. | |
| That's all: this site re-reads every DOAP file overnight, so there's nothing else to register.</p> | |
| </div> | |
| <div id="pub_new"> | |
| <p>Two steps:</p> | |
| <ol> | |
| <li><p><b>Put the file on your project's website.</b> Commit it to your website source so that it is served at an address like | |
| <code id="pub_suggest">https://[committee].apache.org/doap_projectName.rdf</code>.</p> | |
| <p>The website is the best place for it: the address won't change when your code repositories are reorganised, | |
| and it won't be copied into every release tag and branch. Check the address works in a browser before step 2.</p></li> | |
| <li><p><b>Add it to the projects listing.</b> Add a line to | |
| <a href="https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk/data/projects.xml">data/projects.xml</a>, | |
| keeping the file in alphabetical order by committee:</p> | |
| <pre id="pub_line"> <location>https://[committee].apache.org/doap_projectName.rdf</location></pre> | |
| <pre>svn co https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk/data projects-data | |
| cd projects-data | |
| # edit projects.xml | |
| svn commit -m "Add DOAP file for [project]" projects.xml</pre> | |
| <p>If you're not comfortable with svn, please <a id="pub_ask" href="mailto:dev@community.apache.org">contact | |
| dev@community.apache.org</a> with the address of your file, and we'll add it for you.</p> | |
| <p>Your project will appear on this site the next day.</p></li> | |
| </ol> | |
| </div> | |
| </div> | |
| <div class="section"> | |
| <h3><a id="customise"></a>Going further</h3> | |
| <p>The form covers what this site uses. DOAP has a few more elements (for example <code>wiki</code> or | |
| <code>audience</code>) that you can add by hand; see the <a href="doap.html">DOAP page</a> and the | |
| <a href="guidelines.html">guidelines</a>.</p> | |
| <h3><a id="validate"></a>Checking your file</h3> | |
| <p>The file generated here is valid RDF. If you edit it by hand, you can check it with the | |
| <a href="https://www.w3.org/RDF/Validator/" target="_blank">W3C RDF Validator</a>. After it's listed, any problems this site | |
| finds appear on the <a href="validation-report.html">validation report</a>.</p> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <div id="footer"> | |
| Managed by the <a href="https://community.apache.org">Apache Community Development Project</a>.<br/> | |
| Copyright© the Apache Software Foundation. Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a><br/> | |
| Apache® and the Apache logo are trademarks of The Apache Software Foundation. | |
| </div> | |
| </body> | |
| </html> |