Closed nephros closed 2 years ago
There is also [5] https://openrepos.net/content/coderus/patchmanager-30 But that does not seem to add anything significant over [1].
Well, point 2 is documented in [3]:
{
"name": "My super patch",
"description": "Some description.",
"category": "other",
"infos": {
"maintainer": "Foo Bar"
}
}
I think the primary task is to consolidate [1] and [3] into [3] (mind that I inserted a pointer to a subsection) and adapt to proper language for specifications (following RFC2119 closely, but not necessarily its spelling in all capital letters): No "shall", no "can". Only "must", "should" and "may", plus their negations. But also try to avoid these negations ("must not", "should not" and "may not"), because they tend to be a source of misunderstandings (because e.g., while "must" = "have to", but "do not have to" = "may not" ≠ "must not"!) .
Reasons: [3] already is the richest source of information and it is the easiest to discuss and work on, because it is hosted at Github. Furthermore, writing and formatting in Markdown is expressive and comes with a lot of benefits, e.g. automatic generation of IDs (jump marks) for every section header etc.
https://github.com/sailfishos-patches/patchmanager/pull/73#discussion_r722775922 provides a good example and reason for making [3] the principal documentation and the only place where it is maintained.
The information is there but is not immediately obvious.
patch.json contents are not documented at all (AFAIK)
Some of the documentation points to [2] as an example for a patch. While this still works as an example, it uses the legacy patch.json format, which has much fewer information bits than the newer one.
References: [1] Web catalog "Documentation (kinda)" page: https://coderus.openrepos.net/pm2/usage/ [2] Example project pointed to by README currently: https://github.com/CODeRUS/sailfishos-disable-glass-avatar [3] Project README - for developers: https://github.com/sailfishos-patches/patchmanager/blob/master/README.md#for-developers [4] probably various guides floating around at the usual places (TJC, TMO, etc.)