logo       
Google Custom Search
    AddThis Social Bookmark Button

darcs patch: Save Context.hs when creating 'dist' tar ball.: msg#00204

Subject: darcs patch: Save Context.hs when creating 'dist' tar ball.
Fri Dec 30 20:53:16 MET 2005  Marnix Klooster <marnix.klooster@xxxxxxxxx>
  * Save Context.hs when creating 'dist' tar ball.

This is to prevent "darcs --exact-version" outputting something like

 darcs compiled on Mar  2 2005, at 10:56:16
 unknown

as it does when building from the output of "make dist", e.g., from the
official tarballs at darcs.net.  (This is what a lot of people and distros do.
Gentoo does this, and I'm using Gentoo, and I want to be able to do "darcs
--exact-version" and have it output something sensible.)

The reason that this problem occurs is that while doing 'make predist' (in the
'predist' preference), Context.hs was nicely preserved by predist_copy, but
then thrown away by distclean.  So the resulting tarball has no Context.hs,
which results in the "unknown" exact version.

I don't really like the way I solved this; if someone has a better way, feel
free to drop this patch and supply a different one.

Groetjes,
 <><
Marnix

New patches:

[Save Context.hs when creating 'dist' tar ball.
Marnix Klooster <marnix.klooster@xxxxxxxxx>**20051230195316] {
hunk ./GNUmakefile 93
-.PHONY:                all clean distclean realclean dist deb test check 
install \
+.PHONY:                all \
+               almostclean clean distclean_only almostdistclean distclean 
realclean \
+               dist deb test check install \
hunk ./GNUmakefile 165
-predist: predist_copy darcs.ps darcs.1 manual/index.html distclean
+predist: predist_copy darcs.ps darcs.1 manual/index.html almostdistclean
hunk ./GNUmakefile 262
-clean:
+clean:         almostclean
+       rm -f Context.hs
+       
+almostclean:
hunk ./GNUmakefile 267
-       rm -f Context.hs stringify
+       rm -f stringify
hunk ./GNUmakefile 279
-distclean:     clean
+distclean:     clean distclean_only
+
+almostdistclean:almostclean distclean_only
+
+distclean_only:
}

Context:

[Do not document "darcs query manifest" twice.
Erik Schnetter <schnetter@xxxxxxxxxxx>**20051222125103] 
[Rename git.c to gitlib.c
Erik Schnetter <schnetter@xxxxxxxxxxx>**20051222115318
 
 On case-insensitive file systems, the source files Git.lhs and git.c
 lead to the same object file git.o.  Renaming git.c to gitlib.c solves
 this problem.
] 
[Remove periods from the AC_MSG_CHECKING call for the release state.
Matt Kraai <kraai@xxxxxxxxx>**20051220174536] 
[Implementation of help command
Eric Kow <eric.kow@xxxxxxxx>**20051218172558
 (RT #307)
 
 Provides a command to display usage information on the screen.
  darcs help           = darcs --help
  darcs help --verbose = darcs --extended-help
  darcs help command   = darcs command --help
 
 This implementation understands abbreviated commands and subcommands.
 Slightly refactors darcs.lhs.
 
] 
[reorganize comments (and add a comment) in Depends.lhs.
David Roundy <droundy@xxxxxxxxx>**20051218122029] 
[fix bug in doesDirectoryReallyExist.
David Roundy <droundy@xxxxxxxxx>**20051020121710
 We were failing with an exception if there was no such object.  The error
 message was:
 
 Fail: getSymbolicLinkStatus: does not exist
] 
[fix type of foreign calls in FastPackedString.
David Roundy <droundy@xxxxxxxxx>**20050920125800] 
[rename RepoTypes to PatchSet.
David Roundy <droundy@xxxxxxxxx>**20050917133920] 
[remove PatchSequence, which has long been obsolete.
David Roundy <droundy@xxxxxxxxx>**20050917133313
 The patch removes remaining vestiges of PatchSequence, which was obsoleted
 long ago by PatchSet (which stores patches in the opposite order (better
 for lazy use) and which has additional information about tags that allows
 us to avoid looking at old history.
] 
[correction for send.sh test
Eric Kow <eric.kow@xxxxxxxx>**20051218095652
 previously failed on (at least) MacOS X 10.3.9
 
] 
[RemoteApply no longer depends on cd, use --repodir instead.
vborja@xxxxxxxxxxxxxx**20051110140430
 
 This is a minor change to make darcs no longer use cd
 before applying patches to a remote repository. 
 Now the --repodir option for the apply command is used.
 
 This patch came from a hack to rssh[http://sf.net/projects/rssh]
 to allow using darcs as a restricted command without depending
 on the cd binary.
 
http://sf.net/tracker/index.php?func=detail&aid=1351939&group_id=65349&atid=510643
] 
[Support signed push
Esa Ilari Vuokko <ei@xxxxxxxxxxx>**20051129082159] 
[Fix typo in multirepo pull.
Juliusz Chroboczek <jch@xxxxxxxxxxxxxx>**20051217201918] 
[Fix merge conflicts.
Juliusz Chroboczek <jch@xxxxxxxxxxxxxx>**20051217201903] 
[add changelog entry for multirepo pull.
David Roundy <droundy@xxxxxxxxx>**20051215122808] 
[add support for pulling from multiple repositories simultaneously.
David Roundy <droundy@xxxxxxxxx>**20050919125012] 
[Use POSIX-style option for 'head', instead of obsolescent syntax
Marnix Klooster <marnix.klooster@xxxxxxxxx>**20051216111731] 
[Clarify wording for changes that can't be unreverted
me@xxxxxxxxxxxxxxx**20051216151120] 
[Set attachment filename when sending a patch bundle by e-mail.
Zachary P. Landau <kapheine@xxxxxxxxxxxxxxxxxx>**20051217195009] 
[save long comment file if a test fails during record
Zachary P. Landau <kapheine@xxxxxxxxxxxxxxxxxx>**20051216023948] 
[properly quote paths so that paths with spaces in them are okay
zooko@xxxxxxxxx**20051121195057] 
[fix up debug printouts in cygwin-wrapper.bash
zooko@xxxxxxxxx**20051115011712] 
[smoother invocation of cygwin-wrapper.bash -- it detects fully-qualified path 
to itself by leading /
zooko@xxxxxxxxx**20051115011702] 
[modernize amend-record.pl to be more portable.
Mark Stosberg <mark@xxxxxxxxxxxxxxx>**20050402133417
 
 This depends on the new "echo_to_darcs()" function in Test::Darcs
] 
[implementation of --set-scripts-executable on local darcs get
kow@xxxxxxxx**20051210215122
 proposed fix for issue38
 
 The --set-scripts-executable flag is normally evaluated when you apply
 patches.  But when you do a local darcs get, no patches are applied.
 So as a solution, we traverse the directory on local darcs get , and set
 any script files to be executable. 
 
 Note: one flaw in this patch is that it duplicates the definition of
 what a script is -- a file that starts with #! -- in PatchApply.lhs and
 Get.lhs.  It might be good to refactor these somehow.
 
] 
[extended set-scripts-executable test
kow@xxxxxxxx**20051210200615
 added check for local darcs get (issue 38) as well as initial sanity check
  
] 
[Fix merge conflicts.
Juliusz Chroboczek <jch@xxxxxxxxxxxxxx>**20051214223217] 
[Add --subject flag to 'darcs send'
Joeri van Ruth <jvr@xxxxxxxx>**20051205120301] 
[print out the patch name when a test fails.
Zachary P. Landau <kapheine@xxxxxxxxxxxxxxxxxx>**20051205055109] 
[Fix mistyped /dev/null, fixes --sendmail-command in Windows
Esa Ilari Vuokko <ei@xxxxxxxxxxx>**20051129160120] 
[Use \ as path separator for GnuPG in Windows -- makes apply --verify work
Esa Ilari Vuokko <ei@xxxxxxxxxxx>**20051129164533] 
[make dangers and recommended use of "Amend" clearer in the docs.
Mark Stosberg <mark@xxxxxxxxxxxxxxx>**20051213140523
 
 I think it's important to be clearer about when it's appropriate to use 
'amend',
 so I moved some notes into the short and mid-length help texts.
] 
[update web page to reflect 1.0.5 as latest stable source.
Tommy Pettersson <ptp@xxxxxxxxxxxxxx>**20051213111137] 
[fix handling of absolute paths containing drive letters
Will <will@xxxxxxxxxx>**20051208054737
 This fixes issue 47 where paths containing drive letters (i.e. on windows)
 are not treated as absolute paths.
] 
[bump version to 1.0.6pre1
Tommy Pettersson <ptp@xxxxxxxxxxxxxx>**20051208092839] 
[revert maybe_relink and atomic_create to original C code.
David Roundy <droundy@xxxxxxxxx>**20051208131213] 
[resolve conflicts between stable and unstable.
David Roundy <droundy@xxxxxxxxx>**20051206134818] 
[Merge changes
Ian Lynagh <igloo@xxxxxxxx>**20051008225210] 
[fix mkstemp implementation for win32
Peter Strand <peter@xxxxxxxxxx>**20050810211303] 
[Implement parts of System.Posix.(IO|Files) for win32
peter@xxxxxxxxxx**20050809200433] 
[implement RawMode with library functions instead of ffi
peter@xxxxxxxxxx**20050809200148] 
[call hsc2hs without output filename argument
peter@xxxxxxxxxx**20050808220444] 
[Rename compat.c to c_compat.c to avoid object filename conflict with Compat.hs
peter@xxxxxxxxxx**20050731114011] 
[Move atomic_create/sloppy_atomic_create to Compat
Ian Lynagh <igloo@xxxxxxxx>**20050730141703] 
[Split the raw mode stuff out into its own .hsc file. Windows needs some TLC
Ian Lynagh <igloo@xxxxxxxx>**20050730134030] 
[Move maybe_relink out of compat.c
Ian Lynagh <igloo@xxxxxxxx>**20050730131205] 
[Remove is_symlink
Ian Lynagh <igloo@xxxxxxxx>**20050730122255] 
[Move mkstemp to Compat.hs
Ian Lynagh <igloo@xxxxxxxx>**20050730020918] 
[Start Compat.hs, and move stdout_is_a_pipe from compat.c
Ian Lynagh <igloo@xxxxxxxx>**20050730004829] 
[TAG 1.0.5
Tommy Pettersson <ptp@xxxxxxxxxxxxxx>**20051207112730] 
Patch bundle hash:
f6b9c65a41ca631f5bb804efbf7b4719c7e5029d
_______________________________________________
darcs-devel mailing list
darcs-devel@xxxxxxxxx
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>