Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] A constructive reommendation on stablity improvemt
Date: Sat, 09 Aug 2014 19:49:49
Message-Id: CAATnKFB5Ff=AZZAW2EUfMesePt+5EOzYs48cC3obVPSm6c4WrA@mail.gmail.com
In Reply to: Re: [gentoo-dev] A constructive reommendation on stablity improvemt by Igor
1 On 10 August 2014 06:15, Igor <lanthruster@×××××.com> wrote:
2
3 > Communication protocol is already there - it's HTTP, method POST
4 > HTTP protocol is already with Python - CURL, WGET
5 > A reliable server ready to accept data from portage is all so there -
6 > it's Apache web server.
7
8
9
10 For the sake of this discussion, those protocols serve only as a channel.
11
12 You have to send some kind of data structure over that channel indicating
13 data about state.
14
15 This requires the data to have a defined format, and potentially a
16 versioning scheme for that format.
17
18 And not just a defined format, like JSON for instance, but a defined
19 structure of JSON representation with keys and values being clearly
20 stipulated.
21
22 You can't just send arbitrary freeform JSON to a random server and hope it
23 pulls sense out of fat air.
24
25 --
26 Kent
27
28 *KENTNL* - https://metacpan.org/author/KENTNL

Replies

Subject Author
Re: [gentoo-dev] A constructive reommendation on stablity improvemt Igor <lanthruster@×××××.com>