public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [RFU] ruby-puppet-lint-2.0.2-1
       [not found] <5808359D010C534D@ms13gb1.int.opaltelecom.net>
@ 2016-11-11  0:49 ` David Stacey
  2016-11-11  0:53   ` David Stacey
  0 siblings, 1 reply; 5+ messages in thread
From: David Stacey @ 2016-11-11  0:49 UTC (permalink / raw)
  To: cygwin-apps

A tool for checking (and fixing) Puppet manifests. Found in most Linux 
distros [1], including Fedora.

BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release
wget --no-check-certificate --no-host-directories --force-directories --cut-dirs=5 \
${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1-src.tar.xz \
${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1.tar.xz \
${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/ruby-puppet-lint-doc-2.0.2-1.tar.xz \
${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/setup.hint \
${BASEURL}/ruby-puppet-lint/setup.hint


Dave.

[1] - https://pkgs.org/search/?query=puppet-lint&type=smart

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFU] ruby-puppet-lint-2.0.2-1
  2016-11-11  0:49 ` [RFU] ruby-puppet-lint-2.0.2-1 David Stacey
@ 2016-11-11  0:53   ` David Stacey
  2016-11-24  8:25     ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: David Stacey @ 2016-11-11  0:53 UTC (permalink / raw)
  To: cygwin-apps

On 11/11/16 00:48, David Stacey wrote:
> A tool for checking (and fixing) Puppet manifests. Found in most Linux 
> distros [1], including Fedora.
>
> BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release 
>
> wget --no-check-certificate --no-host-directories --force-directories 
> --cut-dirs=5 \
> ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1-src.tar.xz \
> ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1.tar.xz \
> ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/ruby-puppet-lint-doc-2.0.2-1.tar.xz 
> \
> ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/setup.hint \
> ${BASEURL}/ruby-puppet-lint/setup.hint
>
>
> Dave.
>
> [1] - https://pkgs.org/search/?query=puppet-lint&type=smart
>
>
Subject: s/RFU/ITP/ Sorry - it's late here and my brain is already asleep...

Dave.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFU] ruby-puppet-lint-2.0.2-1
  2016-11-11  0:53   ` David Stacey
@ 2016-11-24  8:25     ` Corinna Vinschen
  2016-11-24  8:35       ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2016-11-24  8:25 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]

Hi Dave,

On Nov 11 00:52, David Stacey wrote:
> On 11/11/16 00:48, David Stacey wrote:
> > A tool for checking (and fixing) Puppet manifests. Found in most Linux
> > distros [1], including Fedora.
> > 
> > BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release
> > 
> > wget --no-check-certificate --no-host-directories --force-directories
> > --cut-dirs=5 \
> > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1-src.tar.xz \
> > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1.tar.xz \
> > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/ruby-puppet-lint-doc-2.0.2-1.tar.xz
> > \
> > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/setup.hint \
> > ${BASEURL}/ruby-puppet-lint/setup.hint
> > 
> > 
> > Dave.
> > 
> > [1] - https://pkgs.org/search/?query=puppet-lint&type=smart
> > 
> > 
> Subject: s/RFU/ITP/ Sorry - it's late here and my brain is already asleep...

usr/bin/puppet-lint starts with a shebang line like this:

  #!/usr/bin/ruby.exe

.exe???


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFU] ruby-puppet-lint-2.0.2-1
  2016-11-24  8:25     ` Corinna Vinschen
@ 2016-11-24  8:35       ` Corinna Vinschen
  2016-11-24 21:08         ` David Stacey
  0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2016-11-24  8:35 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1436 bytes --]

On Nov 24 09:25, Corinna Vinschen wrote:
> Hi Dave,
> 
> On Nov 11 00:52, David Stacey wrote:
> > On 11/11/16 00:48, David Stacey wrote:
> > > A tool for checking (and fixing) Puppet manifests. Found in most Linux
> > > distros [1], including Fedora.
> > > 
> > > BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release
> > > 
> > > wget --no-check-certificate --no-host-directories --force-directories
> > > --cut-dirs=5 \
> > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1-src.tar.xz \
> > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1.tar.xz \
> > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/ruby-puppet-lint-doc-2.0.2-1.tar.xz
> > > \
> > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/setup.hint \
> > > ${BASEURL}/ruby-puppet-lint/setup.hint
> > > 
> > > 
> > > Dave.
> > > 
> > > [1] - https://pkgs.org/search/?query=puppet-lint&type=smart
> > > 
> > > 
> > Subject: s/RFU/ITP/ Sorry - it's late here and my brain is already asleep...
> 
> usr/bin/puppet-lint starts with a shebang line like this:
> 
>   #!/usr/bin/ruby.exe
> 
> .exe???

Ok, never mind.  I just realized that other ruby gems packages already come with
that, too. 

Other than that the package looks GTG.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFU] ruby-puppet-lint-2.0.2-1
  2016-11-24  8:35       ` Corinna Vinschen
@ 2016-11-24 21:08         ` David Stacey
  0 siblings, 0 replies; 5+ messages in thread
From: David Stacey @ 2016-11-24 21:08 UTC (permalink / raw)
  To: cygwin-apps

On 24/11/2016 08:35, Corinna Vinschen wrote:
>> usr/bin/puppet-lint starts with a shebang line like this:
>>
>>    #!/usr/bin/ruby.exe
>>
>> .exe???
> Ok, never mind.  I just realized that other ruby gems packages already come with
> that, too.

How unpleasant! It looks as though the shebang is being altered by 'gem 
install'. There is a perfectly decent shebang when the gem is unpacked, 
but this gets nobbled during the install process, probably by the 
shebang() function in /usr/share/rubygems/rubygems/installer.rb 
(shebang() function starts at line 500). Ideally this should be patched 
if someone can work out how the '.exe' is creeping in, as that would fix 
all gem packages when they are rebuilt.

The other option is for each gem package to call ruby_fix_shebang() in 
src_install() of their respective cygport files. But it would be better 
to patch 'gem' if at all possible.

Anyway, thanks for taking the time to look at these packages.

Dave.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-24 21:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5808359D010C534D@ms13gb1.int.opaltelecom.net>
2016-11-11  0:49 ` [RFU] ruby-puppet-lint-2.0.2-1 David Stacey
2016-11-11  0:53   ` David Stacey
2016-11-24  8:25     ` Corinna Vinschen
2016-11-24  8:35       ` Corinna Vinschen
2016-11-24 21:08         ` David Stacey

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).