summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2016-04-17 02:50:19 (GMT)
committerAssaf Gordon <assafgordon@gmail.com>2016-04-17 02:50:19 (GMT)
commit328986e4d434c4f6e6fdb81e8aaf06d20022a19d (patch)
tree104393208c8839407b930f7c31aec626753d32c2
parent216bf9922141a72d6273271ccdea63ab4903e846 (diff)
downloadgsv-eval-328986e4d434c4f6e6fdb81e8aaf06d20022a19d.zip
gsv-eval-328986e4d434c4f6e6fdb81e8aaf06d20022a19d.tar.gz
gsv-eval-328986e4d434c4f6e6fdb81e8aaf06d20022a19d.tar.bz2
canned:responses: first draft
-rw-r--r--website/templates/canned_responses.html146
-rw-r--r--website/templates/canned_responses.js99
2 files changed, 245 insertions, 0 deletions
diff --git a/website/templates/canned_responses.html b/website/templates/canned_responses.html
new file mode 100644
index 0000000..115c726
--- /dev/null
+++ b/website/templates/canned_responses.html
@@ -0,0 +1,146 @@
+<html>
+ <head>
+ <style>
+ blockquote {
+ margin: 1em;
+ padding: 1ex;
+ background-color: #EEE;
+ }
+ </style>
+ </head>
+ <body>
+
+ Savannah is a source-code hosting platform with limited
+ resources. As such, we can not support
+ experimental,educational,one-off projects (for example, such
+ projects that are given as an assignment during class).
+ <br/>
+ <br/>
+
+ If this is a submission for a long-term project, one which
+ you intend to develop and maintain, then we can proceed with
+ project evaluation.
+ <br/>
+ <br/>
+
+ For previous discussion on the topic, please see:
+http://lists.gnu.org/archive/html/savannah-register-public/2014-11/msg00014.html
+http://lists.gnu.org/archive/html/savannah-register-public/2014-11/msg00022.html
+http://lists.gnu.org/archive/html/savannah-register-public/2014-11/msg00026.html
+
+If this is a long-term project, then few items needs to be improved before the
+project can be approved:
+1. files should have a copyright statement and a license notice, as explained
+in the links above.
+2. the license must be GPL compatible.
+3. when submitting java projects, please ensure the project can work entirely
+with a free java implementation, such as OpenJDK7 and does not require
+non-free Java libraries or a non-free java implementation.
+4. project names are unique on the savannah server, and we require project
+names to be 4 characters or longer (you've entered "otw").
+
+
+ </blockquote>
+ </li>
+
+ <li>
+ <blockquote>
+
+ To comply with savannah's hosting requirements
+( http://savannah.gnu.org/register/requirements.php
+http://savannah.gnu.org/maintenance/HowToGetYourProjectApprovedQuickly/ )
+all files must have a clear license and copyright notices.
+
+There are several PNG images in the ./data/ directory for which the license
+and copyright are not stated.
+Please add information in your README.md file about the source of these files
+and their license
+(their license must be free and GPL-compatible).
+Please also add license & copyright information to the index.html and
+style.css files.
+ </blockquote>
+ </li>
+
+ <li>
+ <blockquote>
+
+ For java-based projects, Please ensure the entire project
+ can be compiled and run using a free implementation of Java,
+ such as OpenJDK 7 or 8 - and does not require any non-free
+ java implementations.
+
+ </blockquote>
+ </li>
+
+ <li>
+ <blockquote>
+
+ The provided archive contains non-source-code files (XXX
+ files) - please add a README file, with clear license and
+ copyright notices for these files.
+
+ </blockquote>
+ </li>
+
+ <li>
+ <blockquote>
+
+ Please provide an archive (e.g. tar.gz) with the source code files of the project,
+ by uploading it in the "Attach Files" section at the bottom of this page:
+ XXXX .
+ <br/>
+ <br/>
+ When the archive is uploaded, project registration could continue.
+
+ </blockquote>
+ </li>
+
+
+ <li>
+ <blockquote>
+
+ Thank you for submitting a new project to host on GNU Savannah.
+ <br/>
+ <br/>
+ Savannah is primarily a source-code hosting platform, with
+ limited resources. For project without source-code, other
+ hosting platforms will be better suited.
+ <br/>
+ <br/>
+ As such I am closing this request for now.
+
+ </blockquote>
+ </li>
+
+ <li>
+ <blockquote>
+
+ Please add a copyright notice to all the source code files,
+ in the following format at the top of the source files:
+ <br/>
+ &nbsp;&nbsp;Copyright (C) YEAR author
+ <br/>
+
+ </blockquote>
+ </li>
+
+ <li>
+ <blockquote>
+It is also highly recommended to use the canonical form:
+ Copyright (C) YEAR Author <email>
+And put the explicit GPL license text in each file instead of the generic "GPLv2 or later" - see http://www.gnu.org/licenses/gpl-howto.en.html .
+
+ </blockquote>
+ </li>
+
+ <li>
+ <blockquote>
+ It is also recommended to move the license notice to the top
+ of every file (before other comments).
+ </blockquote>
+ </li>
+
+
+ </ol>
+ </body>
+</html>
diff --git a/website/templates/canned_responses.js b/website/templates/canned_responses.js
new file mode 100644
index 0000000..ba8f753
--- /dev/null
+++ b/website/templates/canned_responses.js
@@ -0,0 +1,99 @@
+/*
+@licstart The following is the entire license notice for the JavaScript code in this page.
+
+This file is part of PreTest (http://pretest.nongnu.org).
+
+Copyright (C) 2015-2016 Assaf Gordon (assafgordon@gmail.com)
+
+The JavaScript code in this page is free software: you can
+redistribute it and/or modify it under the terms of the GNU
+General Public License (GNU GPL) as published by the Free Software
+Foundation, either version 3 of the License, or (at your option)
+any later version. The code is distributed WITHOUT ANY WARRANTY;
+without even the implied warranty of MERCHANTABILITY or FITNESS
+FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
+
+As additional permission under GNU GPL version 3 section 7, you
+may distribute non-source (e.g., minimized or compacted) forms of
+that code without the copy of the GNU GPL normally required by
+section 4, provided you include this license notice and a URL
+through which recipients can access the Corresponding Source.
+
+(see https://www.gnu.org/philosophy/javascript-trap.html).
+
+@licend The above is the entire license notice for the JavaScript code in this page.
+*/
+
+var msg = {
+ "still_interested" : {
+ "short" : "Are you still interested? (after 2 weeks)",
+ "long" : "Are you still interested in the submission of project '%projname%'?\n"+
+ "\n"+
+ "If within two weeks there is no reply, this submission request " +
+ "will be closed. You will still be able to register the project " +
+ "again once you have the time to deal with the registration " +
+ "issues."
+ },
+ "inactivity_closing" :{
+ "short" : "Closing due to inactivity",
+ "long":
+ "I am closing this submission due to inactivity.\n"+
+ "\n" +
+ "You will still be able to register the project again once " +
+ "you have the time to deal with the registration issues."
+ },
+ "thanks_for_submission" :{
+ "short" : "Thanks for submitting a new project",
+ "long" "Thank you for submitting a new project to host on GNU Savannah.\n"
+ },
+ "comply_hosting_requirements" : {
+ "short": "project must comply with requirements",
+ "long" : "To host a project on GNU Savannah, it must comply with " +
+ "the hosting requirements:\n"+
+ "http://savannah.gnu.org/register/requirements.php\n"+
+ "http://savannah.gnu.org/maintenance/HowToGetYourProjectApprovedQuickly/\n"
+ },
+ "gpl_compatible" :{
+ "short" : "must GPL-or-later compatbile",
+ "long" : "One such requirement is that the license must be compatible " +
+ "with current and future versions of the GPL, and thus should " +
+ "have the common phrasing \"GPL version X or later\".\n"
+ "\n"+
+ "See: http://www.gnu.org/licenses/gpl-howto.en.html "
+ },
+ "english": {
+ "short" : "submit in English",
+ "long" : "Submissions should be made in English.\n"
+ },
+ "non_codE_submission" : {
+ "short" : "non-code submission (suggest other hosting)",
+ "long": "Savannah is primarily a source-code hosting platform.\n" +
+ "The archive you've provided contains non-source-code - for a " +
+ "project consisting of only non-source-code files - other" +
+ "hosting platforms will be better suited.\n\n" +
+ "If you intend to host source-code, please upload an archive " +
+ "with the source code for your project."
+ },
+ "no_short_names" : {
+ "short" : "require long project names (>3 letters)",
+ "long": "In Savannah project names are globally unique, and we can no " +
+ "longer accept projects with very short names (3 " +
+ "letters). Please suggest a longer project name than '%projname%' " +
+ "(for the \"system name\" part)."
+ },
+ "upload_to_continue" : {
+ "short" : "upload new archive to continue evalution",
+ "long" : "When the files are amended, please upload a new archive to " +
+ "the savannah website (the \"Attach Files\" at the bottom of " +
+ "this page: %regurl%) and the project registration could proceed."
+ },
+ "project_created" : {
+ "short" : "project created, email soon",
+ "long" : "The project has been created.\n" +
+ "You should soon receive an email with further instructions.\n"
+ },
+ "sorry_for_delay" : {
+ "short" : "sorry for the delay",
+ "long" : "Sorry for the delay."
+ },
+