This is a helper script for extracting the used pkg-bindings calls from y2log file and building a markdown document with links to the source code at GitHub.
The Agama installer is actually a Cockpit plugin. Because Cockpit already supports translations it would make sense to check it and reuse the translation process (or some parts) to avoid reinventing the wheel.
See the Cockpit i18n documentation for more details.
We maintain many YaST modules and it's quite difficult to keep all of them in good shape.
So we eeed to know which modules are used and are important for the users so we could spend more time with them. On the other hand, the modules which are used rarely can live with less intensive maintenance.
Here are some Markdown formatting tricks. Please note that it depends on the actual markdown renderer, some feature might work only in specific environments.
All these tricks work at Github, but might not work elsewhere.
If you have very long log or details you might make them collapsible
The Yuml.me service provides a nice way for generating diagram images. See the class examples, action examples .
This markdown line
#!/bin/sh | |
# This script adds Docker support for the SP2 branches, | |
# see https://trello.com/c/V0OaC4DT. | |
# | |
# - Run it in an YaST repo checkout. | |
# - Check the diff displayed in the browser | |
# - Wait for the Travis results | |
# - Debug/fix the issues manually if it does not build |
#!/bin/bash | |
#byzanz-record-window | |
#dependency checks | |
if ! which xwininfo &>/dev/null; then | |
echo "Dependency xwininfo not met." | |
deps_ok=NO | |
fi |
#! /usr/bin/env ruby | |
# Could you guess the result? :-) | |
# Download this script and run it ("ruby test.rb") | |
о = "foo" | |
puts o |
Ruby 2.1+ allows tracing object allocations, see more details in this article.
I enabled it and dumped the Ruby memory usage data in a SLES12-SP2 Beta3 installation
// This simple utility prints the device pixel ratio reported by Qt library | |
// How to compile: | |
// - save into "qt_pixel_ratio" directory | |
// (the directory name determines the binary name, see later) | |
// - run "qmake-qt5 -project" | |
// - run "qmake-qt5" | |
// - run "make" | |
// Then you can run the "./qt_pixel_ratio" binary. | |
// (Use the name of the parent directory if you used another directory name |