diff --git a/.github/workflows/test_yaml.yml b/.github/workflows/test_yaml.yml index 8eca324c..f9146e52 100644 --- a/.github/workflows/test_yaml.yml +++ b/.github/workflows/test_yaml.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install yamale colorama + python -m pip install -r requirements.txt - name: Test yaml run: | _test/test_yaml.py diff --git a/.gitignore b/.gitignore index 8d453180..3f46622f 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,6 @@ node_modules # Jekyll .jekyll-metadata .jekyll-cache + +# Ruby +.bundle \ No newline at end of file diff --git a/_data/data.yml b/_data/data.yml index e5550079..cc323293 100644 --- a/_data/data.yml +++ b/_data/data.yml @@ -701,15 +701,19 @@ projects: statuses: - &stealth name: "Stealth Mode" + tag: "stealth" description: "Shhhh. We're still figuring things out internally." - &starting name: Sprouting + tag: "sprouting" description: "We're ready for use. Early adopters wanted!" - &adopted name: Adopted + tag: "adopted" description: "Many people are using this. Join them!" - &retired name: Retired + tag: "retired" description: "We learned what we can and are not actively developing anymore." tags: @@ -744,10 +748,10 @@ projects: name: "Testing Tools" anchor: testing_tools - intro: "Though all of SSL’s research initiatives—past and present—revolve - around ensuring secure operation of computer systems, the specific areas - addressed by the team vary greatly. Initiatives are grouped into - the following categories:" + intro: "Though all of SSL’s research initiatives—past + and present—revolve around ensuring secure operation + of computer systems, the specific areas addressed by the team vary greatly. + Initiatives are grouped into the following categories:" projects: - &tuf diff --git a/_test/data/test_01_projects_vs_project.yml b/_test/data/test_01_projects_vs_project.yml index 87d2dc68..f246ce76 100644 --- a/_test/data/test_01_projects_vs_project.yml +++ b/_test/data/test_01_projects_vs_project.yml @@ -26,6 +26,7 @@ projects: statuses: - &stealth name: "Stealth Mode" + tag: "stealth" description: "Shhhh. We're still figuring things out internally." tags: diff --git a/_test/data/test_02_project_list_vs_str.yml b/_test/data/test_02_project_list_vs_str.yml index d338cbcb..33d74595 100644 --- a/_test/data/test_02_project_list_vs_str.yml +++ b/_test/data/test_02_project_list_vs_str.yml @@ -26,6 +26,7 @@ projects: statuses: - &stealth name: "Stealth Mode" + tag: "stealth" description: "Shhhh. We're still figuring things out internally." tags: diff --git a/_test/data/test_03_misspelled_alias.yml b/_test/data/test_03_misspelled_alias.yml index 2f20fc87..c4e7c17b 100644 --- a/_test/data/test_03_misspelled_alias.yml +++ b/_test/data/test_03_misspelled_alias.yml @@ -26,6 +26,7 @@ projects: statuses: - &stealth name: "Stealth Mode" + tag: "stealth" description: "Shhhh. We're still figuring things out internally." tags: diff --git a/_test/data/test_04_unescaped_quotes.yml b/_test/data/test_04_unescaped_quotes.yml index fe727a38..88b4b20d 100644 --- a/_test/data/test_04_unescaped_quotes.yml +++ b/_test/data/test_04_unescaped_quotes.yml @@ -26,6 +26,7 @@ projects: statuses: - &stealth name: "Stealth Mode" + tag: "stealth" description: "Shhhh. We're still figuring things out internally." tags: diff --git a/_test/data/test_05_alias_instead_of_str.yml b/_test/data/test_05_alias_instead_of_str.yml index 7415cd94..63cb0e7c 100644 --- a/_test/data/test_05_alias_instead_of_str.yml +++ b/_test/data/test_05_alias_instead_of_str.yml @@ -26,6 +26,7 @@ projects: statuses: - &stealth name: "Stealth Mode" + tag: "stealth" description: "Shhhh. We're still figuring things out internally." tags: diff --git a/_test/data/test_data.yml b/_test/data/test_data.yml index 10a72a47..fc609784 100644 --- a/_test/data/test_data.yml +++ b/_test/data/test_data.yml @@ -26,6 +26,7 @@ projects: statuses: - &stealth name: "Stealth Mode" + tag: "stealth" description: "Shhhh. We're still figuring things out internally." tags: diff --git a/_test/yamale_schema.yml b/_test/yamale_schema.yml index daf07f5b..4ef4ab17 100644 --- a/_test/yamale_schema.yml +++ b/_test/yamale_schema.yml @@ -29,7 +29,6 @@ person: since: any(int(min=2010,max=2025), str()) interests: str() photo: str() - interests: str() publications: list(include('person_publication'), required=False) deployments: str(required=False) @@ -59,6 +58,7 @@ proj_person: status: name: str() + tag: str() description: str() tag: diff --git a/js/project_tags.js b/js/project_tags.js index 2d3379a7..86e12c09 100644 --- a/js/project_tags.js +++ b/js/project_tags.js @@ -5,6 +5,9 @@ // Populate a master hash with the mapping of tag_name=>project_name {% for project in site.data.data.projects.project_cards %} + {% if project.status.tag == "retired" %} + {% continue %} + {% endif %} {% for tag in project.tags %} mapTagToAnchor( '{{ tag.anchor }}', '{{ project.anchor }}'); mapTagToPrettyName('{{ tag.anchor }}', '{{ tag.name }}'); diff --git a/js/retired_project_tags.js b/js/retired_project_tags.js new file mode 100644 index 00000000..57368a8b --- /dev/null +++ b/js/retired_project_tags.js @@ -0,0 +1,18 @@ +--- +--- + +{% include filter_tags_preamble.js %} + +// Populate a master hash with the mapping of tag_name=>project_name +{% for project in site.data.data.projects.project_cards %} + {% if project.status.tag != "retired" %} + {% continue %} + {% endif %} + {% for tag in project.tags %} + mapTagToAnchor( '{{ tag.anchor }}', '{{ project.anchor }}'); + mapTagToPrettyName('{{ tag.anchor }}', '{{ tag.name }}'); + {% endfor %} +{% endfor %} + +{% include filter_tags.js pagename='project' %} + diff --git a/projects.html b/projects.html index 683e9476..6988a3d9 100644 --- a/projects.html +++ b/projects.html @@ -12,6 +12,12 @@
{% for project in site.data.data.projects.project_cards %} + {% if project.status %} + + {% if project.status.tag == "retired" %} + {% continue %} + {% endif %} + {% endif %}
@@ -84,6 +90,17 @@

{{ project.name | size_upcase }}

{% endfor %} +
+

+ During its tenure, the Secure Systems Laboratory has developed, nurtured, and deployed a number of technologies, + which have been sunsetted. These projects addressed password protection, secure experimental testbeds, the + factors that influence developer perceptions, as well as a vehicle to securely share (and acquire) donated computing + resources from desktops, laptops, or smartphones that in some ways anticipated the growth of cloud computing. Though + these technologies are no longer being actively developed, the resources generated by these projects can still + largely be accessed. You can learn more about these retired technologies by clicking here. +

+
diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..5d766d5a --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +colorama==0.4.6 +PyYAML==6.0 +yamale==4.0.4 diff --git a/retired-projects.html b/retired-projects.html new file mode 100644 index 00000000..76145ef6 --- /dev/null +++ b/retired-projects.html @@ -0,0 +1,97 @@ +--- +title: Retired Projects +subnav: retired-projects +layout: default +--- + + + +
{{ site.data.data.projects.intro }}
+ + + +
+ {% for project in site.data.data.projects.project_cards %} + {% if project.status %} + + {% if project.status.tag != "retired" %} + {% continue %} + {% endif %} + {% endif %} +
+ + +
+

{{ project.name | size_upcase }}

+ + {% if project.status %} + {{ project.status.name }} +
{{ project.status.description }}
+
+ {% endif %} +
+ {% if project.tags %} +
+ {{ project.tags | map: 'name' | array_to_sentence_string }} +
+ {% endif %} + + + +

+ {{ project.description }} +

+ + +
+ {% endfor %} +
+ +
+ +