Skip to content

Commit

Permalink
Add OpenEmbedded to system deps, limit display of non-tiered platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
rkent committed Oct 31, 2024
1 parent 946ba6f commit 554bd6b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
13 changes: 13 additions & 0 deletions _data/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ platforms:
mandrake:
name: 'Mandrake/Mandriva Linux'
versions: {}
openembedded:
name: 'OpenEmbedded/Yocto Project'
versions: {}
opensuse:
name: 'openSUSE'
versions: {}
Expand Down Expand Up @@ -108,3 +111,13 @@ package_manager_names:
pacman: ['arch']
pip: []
portage: ['gentoo']

# These are the platforms currently listed as Tier 1-3 in REP-2000 for currently supported distros.
# It is used to limit the display of platforms when space is at a premium. Items consist of a
# Hash with <platforms key>: '<display name>'
current_platforms:
debian: 'Debian'
openembedded: 'OpenEmbedded'
osx: 'macOS'
rhel: 'RHEL'
ubuntu: 'Ubuntu'
12 changes: 5 additions & 7 deletions _layouts/system_deps.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
</th>
<th style="text-align: right;">Usage</th>
<th style="text-align: left;">Description</th>
{% for platform in site.data.common.platforms %}
{% for platform in site.data.common.current_platforms %}
<th style="text-align:left;" class="rotatel90">
<div><span>{{platform[0]}}</span></div>
<div><span>{{platform[1]}}</span></div>
</th>
{% endfor %}
</tr>
Expand All @@ -44,11 +44,9 @@
</td>
<td style="text-align: right;">{{dep_usage}}</td>
<td>{{dep_description}}</td>
{% for p in site.data.common.platforms %}
{% assign platform = p[0] %}
{% assign platform_details = p[1] %}
{% assign versions = platform_details.versions %}

{% for cp in site.data.common.current_platforms %}
{% assign platform = cp[0] %}
{% assign versions = site.data.common.platforms[platform].versions %}

{% assign found_all = true %}
{% assign found_one = false %}
Expand Down
4 changes: 2 additions & 2 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ a.question-link {

th.rotatel90 {
/* Something you can count on */
height: 70px;
height: 90px;
white-space: nowrap;
}

Expand All @@ -486,7 +486,7 @@ th.rotatel90 > div {
}
th.rotatel90 > div > span {
border-bottom: 2px solid #ccc;
padding: 5px 10px;
padding: 2px 0px;
}

/* Collapsable filter and search. */
Expand Down

0 comments on commit 554bd6b

Please sign in to comment.