[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#469250: marked as done (metastore: doc/examples/pre-commit is broken by current git)



Your message dated Sun, 12 Sep 2010 10:47:07 +0000
with message-id <E1Ouk5T-0006b5-0p@franck.debian.org>
and subject line Bug#469250: fixed in metastore 1+20080623+debian-2
has caused the Debian Bug report #469250,
regarding metastore: doc/examples/pre-commit is broken by current git
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 owner@bugs.debian.org
immediately.)


-- 
469250: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469250
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: metastore
Version: 1-2
Severity: normal
Tags: patch



As of commit f5bbc322 (so in particular in Debian version
1:1.5.4.3-1), git pre-commit hooks do not get stdin.  I have worked around
this by reading from /dev/tty. I'm not 100% this has no other issues,
but it works for me (TM).

Maybe this is really a git bug, but I attach a workaround patch for metastore.

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

Kernel: Linux 2.6.24 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages metastore depends on:
ii  libc6                         2.7-8      GNU C Library: Shared libraries

metastore recommends no packages.

-- no debconf information
*** .git/hooks/pre-commit~	2008-03-04 07:53:13.000000000 +0100
--- .git/hooks/pre-commit	2008-03-04 08:33:27.000000000 +0100
***************
*** 8,14 ****
  echo "Going to commit the following metadata changes" >&2
  metastore -c -m >&2
  echo -n "Ok to commit? (y/n): " >&2
! read -n1 REPLY
  echo ""
  
  if [ "$REPLY" != "y" ]; then
--- 8,14 ----
  echo "Going to commit the following metadata changes" >&2
  metastore -c -m >&2
  echo -n "Ok to commit? (y/n): " >&2
! read -n1 REPLY < /dev/tty
  echo ""
  
  if [ "$REPLY" != "y" ]; then

--- End Message ---
--- Begin Message ---
Source: metastore
Source-Version: 1+20080623+debian-2

We believe that the bug you reported is fixed in the latest version of
metastore, which is due to be installed in the Debian FTP archive:

metastore_1+20080623+debian-2.debian.tar.gz
  to main/m/metastore/metastore_1+20080623+debian-2.debian.tar.gz
metastore_1+20080623+debian-2.dsc
  to main/m/metastore/metastore_1+20080623+debian-2.dsc
metastore_1+20080623+debian-2_amd64.deb
  to main/m/metastore/metastore_1+20080623+debian-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 469250@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Romain Francoise <rfrancoise@debian.org> (supplier of updated metastore package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 12 Sep 2010 10:56:36 +0200
Source: metastore
Binary: metastore
Architecture: source amd64
Version: 1+20080623+debian-2
Distribution: unstable
Urgency: low
Maintainer: Romain Francoise <rfrancoise@debian.org>
Changed-By: Romain Francoise <rfrancoise@debian.org>
Description: 
 metastore  - Store and restore metadata from a filesystem
Closes: 469250 540588 594134
Changes: 
 metastore (1+20080623+debian-2) unstable; urgency=low
 .
   * New maintainer (closes: #540588).
   * Fix getopt parsing of -f (closes: #594134).
   * Remove prompting from example Git pre-commit hook (closes: #469250);
     hooks now run with stdin closed (since Git version 1.5.4) and
     prompting will not work when using a high-level interface such as
     git-gui or Emacs anyway.
   * Switch (back) to a minimal rules files; restores missing examples.
   * Switch to source format 3.0 (quilt).
   * Add debian/watch.
   * Bump Standards-Version to 3.9.1, no changes needed.
Checksums-Sha1: 
 343d96af3dbb87d44f9c3c84953a35ca4eee73b4 1173 metastore_1+20080623+debian-2.dsc
 dfb1303bb6dccaa3e8c5ff6a4468ba15a23195d6 3161 metastore_1+20080623+debian-2.debian.tar.gz
 2e3b52884477090fcea9322785e359f2392e8b98 16200 metastore_1+20080623+debian-2_amd64.deb
Checksums-Sha256: 
 e8c5ad8aa3f9c273f263e63f8043ca09c9955211caf24c49eb5fd2f344a50816 1173 metastore_1+20080623+debian-2.dsc
 74ba6ea5cf99257c71d1b456e0e48968888e277aa0affc6911150cd87eba0cad 3161 metastore_1+20080623+debian-2.debian.tar.gz
 f60b9da8f56f1e8bd315a5b3fa302f60bb08e13d04e17c82153c66121a5b4fab 16200 metastore_1+20080623+debian-2_amd64.deb
Files: 
 5b6a049a8ad9d2b9fb0961f8ac00ac78 1173 misc optional metastore_1+20080623+debian-2.dsc
 0c041d0da48b61106ac92ed91ea1ffca 3161 misc optional metastore_1+20080623+debian-2.debian.tar.gz
 d610083b19e286d245d1bbc7e4532bc2 16200 misc optional metastore_1+20080623+debian-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFMjK1oogN2vsA8Vt8RAnTRAJ4uo3j1agY8JfmN/WaqWuY5fMhtqQCgwWKl
9kKcwfqMRRVVszmGIs9iCuw=
=Ex37
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: