Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Douard
swh-web
Commits
f1e83a18
Commit
f1e83a18
authored
1 year ago
by
Paul Wise
Committed by
vlorentz
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Improve the template for the initial forge admin contact mail
parent
fe6c4f2d
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
swh/web/add_forge_now/assets/forge-admin-email.ejs
+15
-11
15 additions, 11 deletions
swh/web/add_forge_now/assets/forge-admin-email.ejs
swh/web/add_forge_now/assets/request-dashboard.js
+1
-1
1 addition, 1 deletion
swh/web/add_forge_now/assets/request-dashboard.js
with
16 additions
and
12 deletions
swh/web/add_forge_now/assets/forge-admin-email.ejs
+
15
−
11
View file @
f1e83a18
...
...
@@ -4,28 +4,32 @@
License: GNU Affero General Public License version 3, or any later version
See top-level LICENSE file for more information
%>
Dear
forge
a
dmin
istrator
,
Hello <%=
forge
A
dmin
%>
,
The mission of Software Heritage is to collect, preserve and share all
the publicly available source code (see
https://www.softwareheritage.org for more information).
the publicly available source code: https://www.softwareheritage.org
We
just
received a request to add the forge hosted at
<%= forgeUrl %>
We
have
received a request to add the forge hosted at
the URL below
to the list of software origins that are archived, and it is our
understanding that you are the contact person for this forge.
understanding that you are or know the contact person for this forge.
<%= forgeUrl %>
In order to archive the forge contents, we will have to periodically
pull the public repositories it contains and clone them into the
Software Heritage archive.
Software Heritage archive. FAQs for our processes are available:
https://docs.softwareheritage.org/user/faq/#add-forge-now
https://www.softwareheritage.org/faq/
Please let us know if there are any technical issues to consider before
we launch the archival of the public repositories hosted on your
infrastructure.
(
use "Reply all" to ensure our system will
process
your answer properly
)
we launch the archival of the public repositories hosted on your
infrastructure.
Please
use "Reply all" to ensure our system will
process
your answer properly
.
In the absence of an answer to this message, we will start to archive
your forge in the coming weeks
(o
nly the publicly accessible
repositories will be archived
)
your forge in the coming weeks
. O
nly the publicly accessible
repositories will be archived
.
Thank you in advance for your help.
...
...
This diff is collapsed.
Click to expand it.
swh/web/add_forge_now/assets/request-dashboard.js
+
1
−
1
View file @
f1e83a18
...
...
@@ -118,7 +118,7 @@ function contactForgeAdmin(event) {
// select email template according to the status:
let
emailText
=
''
;
if
(
forgeRequest
.
status
===
'
PENDING
'
)
{
emailText
=
encodeURIComponent
(
initialEmailTempate
({
'
forgeUrl
'
:
forgeRequest
.
forge_url
}).
trim
().
replace
(
/
\n
/g
,
'
\r\n
'
));
emailText
=
encodeURIComponent
(
initialEmailTempate
({
'
forgeUrl
'
:
forgeRequest
.
forge_url
,
'
forgeAdmin
'
:
forgeRequest
.
forge_contact_name
}).
trim
().
replace
(
/
\n
/g
,
'
\r\n
'
));
}
if
(
forgeRequest
.
status
===
'
FIRST_ORIGIN_LOADED
'
)
{
emailText
=
encodeURIComponent
(
successEmailTempate
({
'
forgeUrl
'
:
encodeURIComponent
(
forgeRequest
.
forge_url
)}).
trim
().
replace
(
/
\n
/g
,
'
\r\n
'
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment