This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tarek
Recipients lars.gustaebel, tarek
Date 2009-09-07.16:43:09
SpamBayes Score 2.4968916e-13
Marked as misclassified No
Message-id <1252341791.6.0.21957960802.issue6856@psf.upfronthosting.co.za>
In-reply-to
Content
> I do not quite see the benefit from the set_* methods. 
> .. some explanations of the underlying complexity...

The only benefit I can see for the set_* method is to hide 
the underlying complexity you've explained.

In Distutils, I'd like to provide a uid and gid option
to the sdist command where the user can set "root" for instance
and see the lib taking care of creating a tarfile with everything
set to the right value (and ignore the flags under windows etc)

So it seems that working per TarInfo is the wrong approach, 
and a global function to create an archive would be better.


> The filter argument is actually a nice idea. I have attached a 
> patch that outlines my idea of how it is supposed to be. 
> Comments welcome.

The patch looks nice to me

small typo in the doc :

> How create

should be "How to create"
History
Date User Action Args
2009-09-07 16:43:12tareksetrecipients: + tarek, lars.gustaebel
2009-09-07 16:43:11tareksetmessageid: <1252341791.6.0.21957960802.issue6856@psf.upfronthosting.co.za>
2009-09-07 16:43:10tareklinkissue6856 messages
2009-09-07 16:43:09tarekcreate