public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-27-g374804a Date: Sat, 22 Oct 2016 15:04:00 -0000 [thread overview] Message-ID: <20161022150405.59525.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=374804a7084f5ca1cab3f24f79d195055bff2243 commit 374804a7084f5ca1cab3f24f79d195055bff2243 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Sat Oct 22 15:33:50 2016 +0100 Update for CSS change of 'background' from id to class Also remove a <br/> used to compensate for negative h2 margin Also update relevant tests Diff: --- calm/pkg2html.py | 3 +-- test/testdata/htdocs.expected/x86/packages.inc | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/calm/pkg2html.py b/calm/pkg2html.py index f2e2cc6..57cc0ab 100755 --- a/calm/pkg2html.py +++ b/calm/pkg2html.py @@ -193,12 +193,11 @@ def update_package_listings(args, packages, arch): os.fchmod(index.fileno(), 0o755) print(textwrap.dedent('''\ <div id="%s"> - <div id="background"> + <div class="background"> <b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <h2>Available Packages for %s</h2> <b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> - <br> <table class="pkglist">''') % (arch, arch), file=index) for p in sorted(packages.keys(), key=package.sort_key): diff --git a/test/testdata/htdocs.expected/x86/packages.inc b/test/testdata/htdocs.expected/x86/packages.inc index 6fecc3d..54fc736 100755 --- a/test/testdata/htdocs.expected/x86/packages.inc +++ b/test/testdata/htdocs.expected/x86/packages.inc @@ -1,10 +1,9 @@ <div id="x86"> -<div id="background"> +<div class="background"> <b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <h2>Available Packages for x86</h2> <b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> -<br> <table class="pkglist"> <tr><td><a href="x86/arc">arc</a></td><td>The ARC archive utility</td></tr> <tr><td><a href="x86/base-cygwin">base-cygwin</a></td><td>Initial base installation helper script</td></tr>
reply other threads:[~2016-10-22 15:04 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20161022150405.59525.qmail@sourceware.org \ --to=jturney@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).