Thursday 20 September 2018

Re: [Feedback needed] New tool for proposed migration help

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkD8wCvN9L2OcLX06AGlaQEyevacFAlujoScACgkQAGlaQEye
vaeadA/8DBog59kQqM5tars4eVO0bFULcn/O2ZSZulikmbK0YmWgEk4A0VIRdwMD
b8sjelrSq6eWxTf9IKA7C0DUpgERoq4XCzqF4SgzqSznikmMIyCUDweQy9CEUNAF
C/i/cobcMf1nDQ6CLnDyutpkaDisGYYnRvP0+CdbyomSZhN93BWsU7dfO9/Fbklc
kIf3qfY1r3uACb8xyw8cSYZqep9mNa9Lt4ASC+oh6I8bC7xETTohLMWSRdlL2WGn
F0MW5WL+EDDPl14TadGokJTBMJm72Y9Uhi4xOEyo1mQY8j5Ac7/LnhqpBkaphdGT
qe/i/Rn0p3barjDsm6r9OxKg1wrggjQjv4zhZ2MfL7nTVhjJntqOyegWBkuK0m2E
+bnIRdeOHimmrXCAWSIC6+gxxJvJAjFLXROcSxR67Q4NW16dHD9fYOxN3AW9ypvS
3HA4zFqxURXbSsTlY8CIudYE4bUve2ujJcuDV47hgTDhG2kxPkFkPMQkd4W82jHF
b0fxVA9br4K2DE4aBt1hx1Ll8sUd9S08DmphgrBZWPEYcAnf8WUMtqqx+Eo4YvVp
qq2KnBNCsyRAd8C1EvpKMg8UZPEe9fEYQ8bMq9MES7+k+XGc0t48meNvBfHfAzQS
9UfcrqF4XjvfHjo3XgcNSGJCiPR/nUIUHKLzadpoOG3Mc0PzUWg=
=Bqxv
-----END PGP SIGNATURE-----
On 09/20/18 12:37, Mattia Rizzolo wrote:
>
>> work to integrate 'update-output-helper' and to generally "parse"
>> update_output.txt and get users more information
> Well, IME that's when most of annoying issues come into being.
> Reading update_excuses.html is very easy; sure it may be handier to not
> have to load the whole page each time, but it's too bothersome. OTOH
> understanding update_output.txt is much harder, and often one needs to
> use other tools (dose, …) to understand the failure reasons.

I agree. In fact, we started a discussion on that with britney upstream,
to figure out a way of getting a machine-readable format of
update-output.txt. I suggested YAML, because that's easy to parse and
also fairly easy for a user to read.

That said, we do already catch some of the common issues: missing
builds, unresolvable dependencies, packages that require MIRs, etc. What
we can't display are required rebuilds of reverse-dependencies. That's
where integrating update-output-helper would help, too.

Much of the issue here is to keep anything that britney has to generate
to be as simple as possible and not inject too much logic that would
slow down its processing or use up more memory -- britney has enough to
do already. In that sense, I thought of just massaging the output in
text-mode it currently does, to just add enough whitespace to the
printfs to pass things as YAML (or you know, the right characters in any
case...)

--
Mathieu Trudel-Lapierre <mathieu.tl@gmail.com>
Freenode: cyphermox, Jabber: mathieu.tl@gmail.com
4096R/65B58DA1 818A D123 0992 275B 23C2 CF89 C67B B4D6 65B5 8DA1