darcs

Issue 180 add darcs dist --manifest to solve Catch 22

Title add darcs dist --manifest to solve Catch 22
Priority feature Status wont-fix
Milestone Resolved in
Superseder DARCS_REPO_DIR environment variable for predist
View: 1555
Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics ProbablyEasy

Created on 2006-05-25.19:09:30 by markstos, last changed 2009-08-27.14:30:42 by admin.

Messages
msg681 (view) Author: markstos Date: 2006-05-25.19:09:28
I would like to include a MANIFEST file automatically when doing 'darcs
dist'

This doesn't work, because the _darcs directory is not present at
predist time:

 darcs setpref predist "darcs query manifest>MANIFEST" 

Since I can't think of a good workaround, I request the following:

 darcs dist --manifest=FILE Adds current manifest to FILE, defaulting to the name MANIFEST  

Then we can set this behavior as a default preference if we always want it.

	Mark
msg682 (view) Author: tommy Date: 2006-05-25.19:57:14
One workaround is to type (or put in the makefile)
'DARCS_REPO_DIR=$PWD darcs dist', and use 'darcs query manifest
--repo-dir=$DARCS_REPO_DIR' in the predist script.

Perhaps darcs should export DARCS_REPO_DIR to the predist
command?
msg683 (view) Author: markstos Date: 2006-05-25.20:11:49
On Thu, May 25, 2006 at 07:57:16PM +0000, Tommy Pettersson wrote:
> 
> Tommy Pettersson <ptp@lysator.liu.se> added the comment:
> 
> One workaround is to type (or put in the makefile)
> 'DARCS_REPO_DIR=$PWD darcs dist', and use 'darcs query manifest
> --repo-dir=$DARCS_REPO_DIR' in the predist script.
> 
> Perhaps darcs should export DARCS_REPO_DIR to the predist
> command?

That would help.

Thanks for the response, Tommy.

	Mark
msg2010 (view) Author: kowey Date: 2007-08-06.15:45:24
Two questions:

1. Do we still want dist --manifest, if we export DARCS_REPO_DIR in predist?

2. Would we be making it easy for the user to shoot themselves in the foot? 
Easy in the sense that they would do something which looks innocent, but is
actually a really bad idea?
msg2011 (view) Author: markstos Date: 2007-08-06.16:00:07
On Monday 06 August 2007 11:45, Eric Kow wrote:
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> Two questions:
>
> 1. Do we still want dist --manifest, if we export DARCS_REPO_DIR in
> predist?
>
> 2. Would we be making it easy for the user to shoot themselves in the foot?
> Easy in the sense that they would do something which looks innocent, but is
> actually a really bad idea?

As the original reporter, my desire for this feature has diminished. 

I find I nearly always need to include some generated files in MANIFEST, which 
aren't managed by darcs, meaning this feature wouldn't be a solution for me. 

  Mark
msg2061 (view) Author: kowey Date: 2007-08-13.19:04:03
Ok... I'm marking this as a wont-fix, especially since we have a seemingly
acceptable workaround anyway.  Objections, etc, welcome.
msg8407 (view) Author: kowey Date: 2009-08-23.14:04:16
This remains wont-fix, but I've opened Tommy's suggestion as a new ticket, issue1555
History
Date User Action Args
2006-05-25 19:09:30markstoscreate
2006-05-25 19:57:16tommysetstatus: unread -> unknown
nosy: droundy, tommy, markstos
messages: + msg682
2006-05-25 20:11:50markstossetnosy: droundy, tommy, markstos
messages: + msg683
2006-06-07 21:28:32jchsetnosy: droundy, tommy, markstos
2007-07-22 10:47:52koweysettopic: + ProbablyEasy
nosy: + beschmi, kowey
2007-08-06 15:45:27koweysetnosy: markstos, beschmi, droundy, kowey, tommy
messages: + msg2010
2007-08-06 16:00:08markstossetmessages: + msg2011
2007-08-13 19:04:04koweysetstatus: unknown -> wont-fix
messages: + msg2061
2009-08-06 17:49:19adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy
2009-08-06 20:49:54adminsetnosy: - beschmi
2009-08-10 21:45:34adminsetnosy: - darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-23 14:04:18koweysetnosy: tommy, kowey, markstos, simon, thorkilnaur, dmitry.kurochkin
superseder: + DARCS_REPO_DIR environment variable for predist
messages: + msg8407
2009-08-25 18:01:09adminsetnosy: + darcs-devel, - simon
2009-08-27 14:30:42adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin