Skip to content

Commit

Permalink
exclude meta attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 30, 2024
1 parent fb6a1a0 commit f26b723
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sass/awards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
**/
*/

$hightlight: #f5f5f5;

Expand Down
2 changes: 1 addition & 1 deletion sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
**/
*/

@import 'awards.scss';
@import 'policy.scss';
Expand Down
2 changes: 1 addition & 1 deletion sass/policy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
**/
*/

$strong: #b8336a;
$em: #1c448e;
Expand Down
2 changes: 1 addition & 1 deletion sass/qo-section.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
**/
*/

.qo-section {
width: 40em;
Expand Down
14 changes: 14 additions & 0 deletions tests/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# SOFTWARE.
---
-
_id: 1
what: pmp
area: hr
days_of_running_balance: 30
Expand All @@ -45,84 +46,97 @@
(give b2 "for #{days} days of delay")
)
-
_id: 2
when: 2024-06-26T22:22:22.8492Z
award: 14
who: 6305016
is_human: 1
why: for important issue reported
-
_id: 3
when: 2024-06-16T22:22:22.8492Z
award: -56
who: 6305016
is_human: 1
why: for fun
-
_id: 4
when: 2024-07-05T22:22:22.8492Z
award: -8
who: 526301
is_human: 1
why: for being a good boy
href: https://github.com/yegor256/judges/issues/111
-
_id: 5
when: 2024-07-04T22:22:22.8492Z
award: 15
who: 526301
is_human: 1
why: for being a great programmer
href: https://github.com/yegor256/judges/issues/111
-
_id: 6
when: 2024-07-03T22:22:22.8492Z
award: -24
who: 6305016
is_human: 1
why: for being a bad boy
href: https://github.com/yegor256/judges/issues/111
-
_id: 7
when: 2024-07-02T22:22:22.8492Z
award: 55
who: 6305016
is_human: 1
why: for new release
href: https://github.com/yegor256/judges/issues/111
-
_id: 8
when: 2024-07-03T22:22:22.8492Z
what: quality-of-service
average_issue_lifetime: 433.54
average_pull_lifetime: 3222.98
average_release_interval: 43432.42
average_workflow_success_rate: 0.56
-
_id: 9
when: 2024-06-23T22:22:22.8492Z
what: quality-of-service
average_pull_lifetime: 3989.98
average_release_interval: 41432.42
-
_id: 10
when: 2024-06-03T22:22:22.8492Z
what: quality-of-service
average_issue_lifetime: 323.54
average_pull_lifetime: 2092.98
average_release_interval: 40432.42
average_workflow_success_rate: 0.67
-
_id: 11
when: 2024-06-23T22:22:22.8492Z
what: quantity-of-deliverables
total_commits_pushed: 43
total_issues_created: 2
total_pulls_submitted: 2
-
_id: 12
when: 2024-07-01T22:22:22.8492Z
what: quantity-of-deliverables
total_commits_pushed: 41
total_issues_created: 5
total_pulls_submitted: 4
total_hoc_written: 4
-
_id: 13
when: 2024-07-01T22:22:22.8492Z
what: dimensions-of-terrain
total_repositories: 4
total_forks: 23
total_stars: 443
-
_id: 14
when: 2024-06-23T22:22:22.8492Z
what: dimensions-of-terrain
total_repositories: 3
Expand Down
3 changes: 2 additions & 1 deletion xsl/dot.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ SOFTWARE.
</tr>
</thead>
<tbody>
<xsl:for-each select="distinct-values($dot_facts/*[contains(name(), '_')]/name())">
<xsl:for-each select="distinct-values($dot_facts/*[contains(name(), '_') and not(starts-with(name(), '_'))]/name())">
<xsl:sort select="." data-type="text"/>
<xsl:variable name="n" select="."/>
<tr>
<td class="ff">
Expand Down
9 changes: 8 additions & 1 deletion xsl/index.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,14 @@ SOFTWARE.
<xsl:text>pages-action</xsl:text>
</a>
<xsl:text> plugin (</xsl:text>
<xsl:value-of select="$version"/>
<span>
<xsl:attribute name="style">
<xsl:if test="$version = '0.0.0'">
<xsl:text>background: firebrick; color: white;</xsl:text>
</xsl:if>
</xsl:attribute>
<xsl:value-of select="$version"/>
</span>
<xsl:text>) on </xsl:text>
<xsl:value-of select="current-dateTime()"/>
<xsl:text>.</xsl:text>
Expand Down

0 comments on commit f26b723

Please sign in to comment.