sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011)
- From: Vlad Glagolev <stealth AT tiberian.ru>
- To: Ismael Luceno <ismael.luceno AT gmail.com>
- Cc: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011)
- Date: Sat, 14 May 2016 21:36:31 -0400
How about rewriting it in something else than awk?
Let's say what Sorcery uses, i.e. bash?
On Sat, 14 May 2016 16:12:34 -0300
Ismael Luceno <ismael.luceno AT gmail.com> wrote:
> Dear fellow mages,
>
> Bug #16011 [0], recently filled, deals with the issue of upgrading
> an old system to the latest stable releases.
>
> Since a while ago, some of the sources of spells in stable are
> compressed by xz, but this format is not recognized by older versions
> of the `file` command, which sorcery uses to figure out how to
> decompress the file.
>
> As a first measure to avoid this issue now and in future releases, I
> would like to replace the code dealing with parsing the output of the
> `file` command with a custom script that detects only the formats
> needed by sorcery, and has no external dependencies. A prototype
> written using only dd and awk is attached to the bug report [1].
>
> I would like to hear opinions about this implementation and any ideas
> about how it could be improved.
>
> Regards.
>
>
> [0] https://bugs.sourcemage.org/show_bug.cgi?id=16011
> [1] https://bugs.sourcemage.org/attachment.cgi?id=7584
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
--
Vlad Glagolev <stealth AT tiberian.ru>
Attachment:
pgpmDlUcvHeP5.pgp
Description: PGP signature
-
[SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Pavel Vinogradov, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Pavel Vinogradov, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/14/2016
- Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011), Pavel Vinogradov, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Pavel Vinogradov, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Vlad Glagolev, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Remko van der Vossen, 05/15/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/15/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Jaka Kranjc, 05/15/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/15/2016
- Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011), Jaka Kranjc, 05/15/2016
- Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011), Ismael Luceno, 05/15/2016
- Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011), Jaka Kranjc, 05/18/2016
- Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011), Vlad Glagolev, 05/18/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/15/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Jaka Kranjc, 05/15/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/15/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Remko van der Vossen, 05/15/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Ismael Luceno, 05/14/2016
-
Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011),
Pavel Vinogradov, 05/14/2016
Archive powered by MHonArc 2.6.24.