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

Add OpenEmbedded to system deps, limit display of non-tiered platforms #440

Merged
merged 1 commit into from
Nov 8, 2024
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
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
Loading