Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: RADIUSS cleanup, part 2 #569

Merged
merged 6 commits into from
Apr 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ exclude:
- Makefile
- build
- visualize/README.md
- notes.md
16 changes: 8 additions & 8 deletions js/Category.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ app.service('Category', function() {
};

//check if repo is tagged as "radiuss" as well as one of the categories
this.containsRadiussTopics = function(catTopics, repoTopics) {
for (var i = 0; i < catTopics.length; i++) {
if ($.inArray(catTopics[i], repoTopics) != -1 && $.inArray('radiuss', repoTopics) != -1) {
return true;
}
}
return false;
};
//this.containsRadiussTopics = function(catTopics, repoTopics) {
// for (var i = 0; i < catTopics.length; i++) {
// if ($.inArray(catTopics[i], repoTopics) != -1 && $.inArray('radiuss', repoTopics) != -1) {
// return true;
// }
// }
// return false;
//};

this.uniqueLogo = function(logos, fileName, ownerAvatar) {
var match = false;
Expand Down
50 changes: 50 additions & 0 deletions notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Notes

## Deprecated RADIUSS features

April 2022: <https://software.llnl.gov/radiuss/> launched via <https://github.com/llnl/radiuss>. See tasks in [issue 567](https://github.com/LLNL/llnl.github.io/issues/567). If we ever want/need to reinstate RADIUSS browsing, branding, and other features on this site, here's what to do:

* Add `/explore/#/RADIUSS` back into the catalog browse by adding this code (as lines 154-168) to `category_info.json`:

```bash
"RADIUSS": {
"title": "RADIUSS",
"hash": "RADIUSS",
"icon": {
"path": "/assets/images/radiuss.svg",
"alt": "RADIUSS logo"
},
"description": {
"short": "Rapid Application Development via an Institutional Universal Software Stack",
"long": ": LLNL's RADIUSS project aims to broaden usage across LLNL and the open source community of a set of libraries and tools used for HPC scientific application development."
},
"topics":[
"radiuss"
]
},
```

* Comment back in lines 31-38 in `Category.service.js`

```bash
this.containsRadiussTopics = function(catTopics, repoTopics) {
for (var i = 0; i < catTopics.length; i++) {
if ($.inArray(catTopics[i], repoTopics) != -1 && $.inArray('radiuss', repoTopics) != -1) {
return true;
}
}
return false;
};
```

* Update link/text on home page
* Update links/text on Policies & Guidelines page
* Update links/text on FAQ page
* Update relevant READMEs
* Update links/text on <https://dev.llnl.gov/radiuss/>
* Point URL alias <https://radiuss.llnl.gov> back to `/explore/#/RADIUSS` (request this of <[email protected]>)

No changes yet, if ever:

* Policies & Guidelines are currently still on this site: <https://software.llnl.gov/about/policies/>
* RADIUSS logo (`radiuss.svg`) is still in the `/assets/` folder
15 changes: 0 additions & 15 deletions pages/explore/category_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,21 +151,6 @@
"proxy-application"
]
},
"RADIUSS": {
"title": "RADIUSS",
"hash": "RADIUSS",
"icon": {
"path": "/assets/images/radiuss.svg",
"alt": "RADIUSS logo"
},
"description": {
"short": "Rapid Application Development via an Institutional Universal Software Stack",
"long": ": LLNL's RADIUSS project aims to broaden usage across LLNL and the open source community of a set of libraries and tools used for HPC scientific application development."
},
"topics":[
"radiuss"
]
},
"System Software": {
"title": "System Software",
"hash": "SystemSoftware",
Expand Down
2 changes: 1 addition & 1 deletion pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permalink: /

{% raw %}

<p class="title-para">Welcome to the LLNL software portal—a hub for our open source projects. <br />Our <a href="/explore/#/AllSoftware">full catalog</a> is updated regularly as repositories are added or modified.</p>
<p class="title-para">Welcome to the LLNL software portal—a hub for our open source projects.<br />Our <a href="/explore/#/AllSoftware">full catalog</a> is updated regularly as repositories are added or modified.<br />(Looking for RADIUSS projects? Browse them <a href="https://software.llnl.gov/radiuss/" target="_blank">here</a>.)</p>

<section class="flex-container" id="categories">
<div ng-repeat="category in catData" ng-if="category.title!='All Software'" class="flex-category dynamic">
Expand Down
2 changes: 1 addition & 1 deletion pages/project/policies/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ software developed over many years at [Lawrence
Livermore National Laboratory (LLNL)](https://www.llnl.gov) for use
outside of their primary funding organization and within the broader
scientific research community. With [these libraries and
tools](/explore/#/RADIUSS) we
tools](https://software.llnl.gov/radiuss/) we
cover a wide range of features a team would need to develop a modern
scientific simulation code, particularly when targeting High Performance
Computing (HPC). Each of these products are used in applications that
Expand Down