BTS

Issue342

Title [grml-policy] extended for use of $(...) rather than backticks
Priority feature Status resolved
Superseder Nosy List mika, z3ttacht
Assigned To mika Topics doc

Created on 2007-11-18.19:56:37 by z3ttacht, last changed 2010-02-28.01:23:52 by mika.

Files
File name Uploaded Type Edit Remove
grml-policy-backticks-block.txt z3ttacht, 2007-11-18.19:56:47 text/plain
grml-policy-backticks-source.txt z3ttacht, 2007-11-18.19:56:58 text/plain
Messages
msg3073 (view) Author: mika Date: 2010-02-28.01:23:52
Fixed in git, thanks.
msg1029 (view) Author: mika Date: 2007-12-22.00:17:59
> That's no problem, is it?

No, not really. But we don't have a debian/control files providing
something like 'Build-Depends: ...' for this "package". :)

So I'm thinking about a way to check for presence of
source-highlight through the Makefile.

> > can you please check if we can close this bugreport?

> Looks good to me. Really colorful now. (o; Hence you have my
> blessing for closing.

Ok. :) I'll keep it open for now until we have a solution for the
Makefile idea.

regards,
-mika-
msg1021 (view) Author: z3ttacht Date: 2007-12-17.13:21:44
> We have to make sure source-highlight is present, then everything works fine.
That's no problem, is it?

> can you please check if we can close this bugreport?
Looks good to me. Really colorful now. (o; Hence you have my blessing for
closing.
msg1019 (view) Author: mika Date: 2007-12-16.19:09:04
See http://hg.grml.org/grml-policy/rev/c27f263aea47
We have to make sure source-highlight is present, then everything works fine.
z3ttacht, can you please check if we can close this bugreport? Thx!

regards,
-mika-
msg945 (view) Author: mika Date: 2007-11-21.21:40:20
Ahhhhhh, source-highlight seems to do the trick. I'll check out how we could 
make sure the file always builds accordingly. Thanks!
msg942 (view) Author: z3ttacht Date: 2007-11-21.17:23:53
> I've applied grml-policy-backticks-block.txt and it's
> available online at http://grml.org/policy/ already.
Hm, something seems to not work properly with your aѕciidoc
procedure. Markup characters like *...* and _..._ for example are
shown. But when I render the source on my box, it works as
intended.[1]

% dpkg -l asciidoc
ii  asciidoc  8.2.2-1  [...]

> Regarding grml-policy-backticks-source.txt: hm, does not look like
> the "source- highlight for colored source snippets" works here. Do
> I need any special asciidoc version/option to use that feature?
Again, it works here.[2] I just had to install package
source-highlight.

% dpkg -l source-highlight
ii  source-highlight  2.4-5.1+b1  [...]

Btw, I did
% asciidoc -n $file
in both cases.

[1] http://tinyurl.com/36q2n9
[2] http://tinyurl.com/38x6lv
msg937 (view) Author: mika Date: 2007-11-18.23:39:17
Cool, thanks! I've applied grml-policy-backticks-block.txt and it's available 
online at http://grml.org/policy/ already.

Regarding grml-policy-backticks-source.txt: hm, does not look like the "source-
highlight for colored source snippets" works here. Do I need any special 
asciidoc version/option to use that feature? Or did I just miss anything? :)

thx && regards,
-mika-
msg934 (view) Author: z3ttacht Date: 2007-11-18.19:56:36
I tried to explain, why it's better to use $(...) rather than
backticks when writing scripts.

Furthermore some corrections concerning asciidoc's formatting were
made.

There are two different versions attached.

  1. Uses intended blocks for displaying source snippets as the
     current version does.
  2. Makes use of source-highlight for colored source snippets.
History
Date User Action Args
2010-02-28 01:23:52mikasetstatus: in-progress -> resolved
nosy: mika, z3ttacht
messages: + msg3073
2007-12-22 00:17:59mikasetnosy: mika, z3ttacht
messages: + msg1029
2007-12-22 00:08:51mikasetstatus: testing -> in-progress
nosy: mika, z3ttacht
2007-12-17 13:21:45z3ttachtsetnosy: mika, z3ttacht
messages: + msg1021
2007-12-16 19:09:05mikasetstatus: in-progress -> testing
nosy: mika, z3ttacht
messages: + msg1019
2007-11-21 21:40:20mikasetstatus: testing -> in-progress
nosy: mika, z3ttacht
messages: + msg945
2007-11-21 17:23:53z3ttachtsetnosy: mika, z3ttacht
messages: + msg942
2007-11-18 23:39:18mikasettopic: + doc
nosy: mika, z3ttacht
messages: + msg937
2007-11-18 19:56:58z3ttachtsetfiles: + grml-policy-backticks-source.txt
nosy: mika, z3ttacht
2007-11-18 19:56:47z3ttachtsetfiles: + grml-policy-backticks-block.txt
nosy: mika, z3ttacht
2007-11-18 19:56:37z3ttachtcreate