Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-07

Bug tracker file formats: 7z prohibited?

9 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinier Olislagers

I noticed that in issue 22455, Bart Broersma says:

Please don't use .7z as compress format, it isn't supported out of the box on many platforms.

If we shouldn't use 7z files, which format should we use then? zip? .tar.gz? AFAICT, these suffer from the same problems (e.g. no built in support on Win98 platforms and/or various unix flavours)?

Thanks,
Reinier

Reply by email

Mattias Gaertner
to Reinier Olislagers
Show quoted text 7 lines
I noticed that in issue 22455, Bart Broersma says: > Please don't use .7z as compress format, it isn't supported out of the box on many platforms. If we shouldn't use 7z files, which format should we use then? zip? .tar.gz? AFAICT, these suffer from the same problems (e.g. no built in support on Win98 platforms and/or various unix flavours)?

If you have an example for an issue specific for platform X then you should use a format for platform X.
Otherwise use zip or tar.gz/tgz.

Mattias

Reply by email

Reinier Olislagers
to Mattias Gaertner
Mattias Gaertner wrote 14 lines
On Sat, 21 Jul 2012 14:07:57 +0200 Reinier Olislagers wrote: > I noticed that in issue 22455, Bart Broersma says: >> Please don't use .7z as compress format, it isn't supported out of the box on many platforms. > > If we shouldn't use 7z files, which format should we use then? zip? > .tar.gz? > AFAICT, these suffer from the same problems (e.g. no built in > support on Win98 platforms and/or various unix flavours)? If you have an example for an issue specific for platform X then you should use a format for platform X. Otherwise use zip or tar.gz/tgz.

That sounds sensible (and I think using zip is a good middle ground for all platforms but I appreciate people's preferences may be different).

Reply by email

Reinier Olislagers
to Mattias Gaertner: On Sat, 21 Jul 2012 14:07:57 +0200 If you have an example for an issue specific for…
Mattias Gaertner wrote 16 lines
On Sat, 21 Jul 2012 14:07:57 +0200 Reinier Olislagers wrote: > I noticed that in issue 22455, Bart Broersma says: >> Please don't use .7z as compress format, it isn't supported out of the box on many platforms. > > If we shouldn't use 7z files, which format should we use then? zip? > .tar.gz? > AFAICT, these suffer from the same problems (e.g. no built in > support on Win98 platforms and/or various unix flavours)? If you have an example for an issue specific for platform X then you should use a format for platform X. Otherwise use zip or tar.gz/tgz. Mattias

Adjusted
http://wiki.lazarus.freepascal.org/Creating_A_Patch (specified zip/tgz only to keep things simple)

Reply by email

Juha Manninen
to Reinier Olislagers: I noticed that in issue 22455, Bart Broersma says: If we shouldn't use 7z files, which…

On Sat, Jul 21, 2012 at 3:07 PM, Reinier Olislagers <

Show quoted text 10 lines
wrote: I noticed that in issue 22455, Bart Broersma says: > Please don't use .7z as compress format, it isn't supported out of the box on many platforms. If we shouldn't use 7z files, which format should we use then? zip? .tar.gz? AFAICT, these suffer from the same problems (e.g. no built in support on Win98 platforms and/or various unix flavours)?

I think Win98 does not support any compression format out of the box.

For me personally this is not an issue because I use Ark (comes with KDE) and it opens pretty much any compression format you can imagine. Also, 7z archiver can be installed to Windows.

Creating artificial limitations for file formats is not a good idea. Getting example projects (and patches) is a valuable thing and it should be encouraged by being flexible. Another similar issue is the patch format. At least earlier the Git patch format was rejected by developers, although Git is especially good for maintaining local branches for people without commit rights.

Regards,
Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120721/9ba31265/attachment-0001.html>

Reply by email

Bart
to Reinier Olislagers: I noticed that in issue 22455, Bart Broersma says: If we shouldn't use 7z files, which…
Reinier Olislagers wrote 8 lines
I noticed that in issue 22455, Bart Broersma says: > Please don't use .7z as compress format, it isn't supported out of the box > on many platforms. If we shouldn't use 7z files, which format should we use then? zip? .tar.gz? AFAICT, these suffer from the same problems (e.g. no built in support on Win98 platforms and/or various unix flavours)?

I might actually be the only Lazarus user that uses Win9x (WinMe in fact), but my remark wasn't written with that in mind. Even on Win7 .7z needs an external application to view, whereas almost all modern OS's (past 2000) have native support

Reply by email

Reinier Olislagers
to Bart
Bart wrote 14 lines
On 7/21/12, Reinier Olislagers wrote: > I noticed that in issue 22455, Bart Broersma says: >> Please don't use .7z as compress format, it isn't supported out of the box >> on many platforms. > > If we shouldn't use 7z files, which format should we use then? zip? > .tar.gz? AFAICT, these suffer from the same problems (e.g. no built in > support on Win98 platforms and/or various unix flavours)? > I might actually be the only Lazarus user that uses Win9x (WinMe in fact), but my remark wasn't written with that in mind. Even on Win7 .7z needs an external application to view, whereas almost all modern OS's (past 2000) have native support may be true for Windows, but as I said is not necessarily true on

Unixes/Linux.

I concur with Juha that accepting contributions is much more important than telling people what not to do because "no native support" really shouldn't be a big issue for a developer reviewing patches.

On Windows, just installing 7zip (portable) will get you 7z, .tar.gz, .zip extract support as well as support for a lot of other archives. AFAIR, same for Peazip (written in Lazarus).

Once people start making regular contributions, zip does seem to be the most well-supported format in general... either natively, as you said, or by widely available packages. Even then, a tgz makes a lot of sense if reporting Linux/OSX/Unix bugs as support for these is often built in (who knows, it may be always, but I'm not even less of an AIX/Solaris/BSD expert than a Linux distribution connoiseur)

If some sort of enforcement is to be done (or not), I'd suggest at least editing
http://wiki.lazarus.freepascal.org/Creating_A_Patch to match decisions; this way we can makes sure there's a consistent message to patch submitters.

The message we're sending is the reason I brought it up.

Thanks,
Reinier

Reply by email

Mark Morgan Lloyd
to Reinier Olislagers
Reinier Olislagers wrote 6 lines
Once people start making regular contributions, zip does seem to be the most well-supported format in general... either natively, as you said, or by widely available packages. Even then, a tgz makes a lot of sense if reporting Linux/OSX/Unix bugs as support for these is often built in (who knows, it may be always, but I'm not even less of an AIX/Solaris/BSD expert than a Linux distribution connoiseur)

.Zip can be a problem in some very old implementations, where it doesn't handle long file names gracefully. There's at least two variants of (uncompressed) tar still in circulation, Solaris (10) doesn't use the GNU implementation by default but gtar is readily available (I've never tried reading a Solaris-created tar on Linux). The tar I've got on some old MS OSes doesn't have compression, I've not researched what's currently available for e.g. OS/2 and NT.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Marco van de Voort
to Juha Manninen: On Sat, Jul 21, 2012 at 3:07 PM, Reinier Olislagers < I think Win98 does not support any…
Juha Manninen wrote
For me personally this is not an issue because I use Ark (comes with KDE) and it opens pretty much any compression format you can imagine. Also, 7z archiver can be installed to Windows.

Sure, but I don't like maintaining a set of compressors for each of the computers I occasionally fix bugs on. Just use zip. If the 7z bit matters, than your case is too big :-)

Show quoted text 6 lines
Creating artificial limitations for file formats is not a good idea. Getting example projects (and patches) is a valuable thing and it should be encouraged by being flexible. Another similar issue is the patch format. At least earlier the Git patch format was rejected by developers, although Git is especially good for maintaining local branches for people without commit rights.

The only patches I refused were refused because they didn't apply with normal gnu patch and diff. Not because they came from git.

Reply by email