Your message dated Thu, 2 Oct 2014 14:01:18 -0700
with message-id 
<CACXN+=qaryknrceznokauvj4k-x-7qb98sdq9wexc+v4ajt...@mail.gmail.com>
and subject line 
has caused the Debian Bug report #763782,
regarding stylus: input file overwritten if non-standard filename extension
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
763782: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763782
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: node-stylus
Version: 0.48.1+dfsg-1
Severity: normal
File: /usr/lib/nodejs/stylus/bin/stylus

Dear Maintainer,

If you use the ``.styl`` file extension, stylus compiles to a new
file with the ``.css`` extension (seems reasonable enough)

        $ echo -e "body\n\tfont sans-serif" > test.styl  
        $ stylus test.styl
          compiled test.css
        $ cat test.styl
        body
                font sans-serif

But if you use a different file extension, it overwrites your file:

        $ echo -e "body\n\tfont sans-serif" > test.stylus
        $ stylus test.stylus 
          compiled test.stylus
        $ cat test.stylus
        body {
          font: sans-serif;
        }

I think this is very bad. Stylus should not overwrite the source
file unless explicitly told to do so. It should create test.css or
test.stylus.css

Thank you :)

-- 
Jason


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.14-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages node-stylus depends on:
ii  node-css-parse   1.7.0+dfsg-1
ii  node-debug       0.8.1-1
ii  node-glob        4.0.5-1
ii  node-mkdirp      0.5.0-1
ii  node-sax         0.5.5-1
ii  node-source-map  0.1.34-1
ii  nodejs           0.10.29~dfsg-1

node-stylus recommends no packages.

node-stylus suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
This behavior is present in the upstream codebase; it is not a bug
introduced by Debian packaging.

Please file this issue upstream: https://github.com/LearnBoost/stylus/issues

--- End Message ---
_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to