All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Kurth <lars.kurth@citrix.com>
To: Rich Persaud <persaur@gmail.com>, Lars Kurth <lars.kurth.xen@gmail.com>
Cc: Artem Mygaiev <Artem_Mygaiev@epam.com>,
	Andrew Cooper <Andrew.Cooper3@citrix.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Committers <committers@xenproject.org>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [Xen-devel] [RFC] Documentation formats, licenses and file system structure
Date: Thu, 17 Oct 2019 13:24:42 +0000	[thread overview]
Message-ID: <5CFB62F9-89FA-445F-89EA-17D5F71E78AB@citrix.com> (raw)
In-Reply-To: <26E88F34-5956-4491-A1A6-9F6FCF87C54E@gmail.com>



On 16/10/2019, 17:35, "Rich Persaud" <persaur@gmail.com> wrote:

    > On Oct 15, 2019, at 08:27, Lars Kurth <lars.kurth.xen@gmail.com> wrote:
...
    > 
    > My point really was is that due to storing the files in git, we essentially do NOT today do this.
    > So we would need to take extra action: e.g. manually or through tooling
    > 
    >>>   4.2: We could require individual authors to be credited: in that
    >>>           case we probably ought to lead by example and list the authors
    >>>           in a credit/license section and extract the information from
    >>>           git logs when we generate it (at some point in the future)
    >>> 5: You give an indication whether you made changes ... in practice
    >>> this means you have to state significant changes made to the works
    >> 
    >> This is also helpful for provenance of changes, which is relevant in safety-oriented documentation.  It can be used to clearly delineate CC-licensed content (which may be reused by many companies) from "All Rights Reserved" commercial content that may be added for a specific commercial audience or purpose.
    > 
    > I agree
    > 
    > I think the outcome of this analysis is really that the only significant difference between BSD and CC-BY in this context is the  "All Rights Reserved" portion
    
    Also - BSD is a "software" license while CC-BY is a "content" license, so they are not strictly comparable, even if they use similar terminology.

True, but as we have noticed the boundary between content and in-code docs content is fuzzy.
    
    >> There is a difference between "software" which "runs on machines" and "documentation" which "runs on humans".  Combined software (e.g. BSD code from two origins) is executed identically, despite origin.  Humans make value judgements based on the author/origin of content, hence the focus on attribution.  Yes, there is a provenance graph in git (software/data), but that's not typically visible to human readers, except as a generated report, i.e. documentation.
    > 
    > Yes true. But also true for CC-BY-4 sources stored in git unless extra action is taken 
    > 
    > But my point is: 
    > * If we take extra action as e.g. proposed in 4.2 we can apply this uniformly to BSD as well as CC-BY pages
    > * We can add a section on re-use as proposed in 4.2 which recommends best practices around 5.  
    > * We can highlight sections that are BSD vs CC-BY in such a section, such that someone who has issue can remove these easily
    > 
    > In addition to these points: maybe it is too impractical to create ABI documentation based on CC-BY-4 (given that a lot of what we need is already in BSD sources). 
    > We could just copy some of the content in the BSD sources to new CC-BY-4 sources, but in practice it would just be hiding the potential legal issues behind it. 
    > Someone could contest the creation and argue that portions of the now CC-BY-4 sources are in fact BSD: in practice this is extremely unlikely, but it is possible.
    > 
    >>> As such, BSD-2/3-Clause in our context works similarly to CC-BY-4
    >>> from a downstream's perspective. In fact CC-BY-4 is somewhat stricter
    >> 
    >> If we don't want the incentives and provenance properties of CC-BY, there is the option of CC0, which is the equivalent of public domain.  This would delegate the task of separating commercial vs CC content to each reader, without any license-required attribution or separation.
    >> 
    >> Some background on licenses designed for documentation, which has different legal requirements than software:
    >> 
    >> https://www.dreamsongs.com/IHE/IHE-50.html
    >> https://creativecommons.org/faq/#what-are-creative-commons-licenses (not for s/w)
    > 
    > I will have a look. But the core issue - which is why I have proposed what I have - is the question on how practically ABI documentation published under CC-BY-4, when much of this information has already been published in the past as code under BSD.
    
    Is there a reference sample of:
    
    - previously published, BSD-licensed, ABI specification-as-source-code

All of http://xenbits.xen.org/docs/unstable/hypercall
And some can be content rich as seen in http://xenbits.xen.org/docs/unstable/hypercall/arm/include,public,xen.h.html#Func_HYPERVISOR_mmu_update
 
    - the corresponding FuSA ABI documentation for that source file

We do NOT have ANY FuSA documentation at this stage. And there are NO examples of such docs in the public domain
I am waiting for a sanitised smallish system software example to be made available, which should help us identify the practical implications 
However, ABI documentation would be part of it
    
    If there is almost a 1:1 correspondence between ABI "docs" and "code", could the necessary FuSA annotations become part of the source code file, e.g. comments or tags?  Or is there a requirement for the ABI documentation to have a specific layout in a printable report?
    
I don’t think there will be a 1:1 mapping. The documentation would typically be
- Interface docs (e.g. ABI docs) - there will likely be a clean mapping 
- Requirements: specifying what the system is supposed to do - no clean mapping to source
- Designs, Architecture docs, ... - no clean mapping to source
- Test Specs - should have clean mapping to test code, but not to tested code

We do still need some sort of tagging for tracability

In any case: I think we are at the stage where we need to hear from Andy and others

Regards
Lars

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-10-17 13:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-10 12:34 [Xen-devel] [RFC] Documentation formats, licenses and file system structure Lars Kurth
2019-10-10 17:05 ` Andrew Cooper
2019-10-10 18:30   ` Lars Kurth
2019-10-11  1:24     ` Stefano Stabellini
2019-10-11 11:09       ` Lars Kurth
2019-10-11 17:33         ` Stefano Stabellini
2019-10-15  1:56         ` P S
2019-10-15  1:58         ` Rich Persaud
2019-10-15 12:25           ` Lars Kurth
2019-10-16 16:34             ` Rich Persaud
2019-10-17 13:24               ` Lars Kurth [this message]
2019-10-17 16:32                 ` Stefano Stabellini
2019-10-17 16:41                   ` Rich Persaud
2019-10-17 16:53                     ` Stefano Stabellini
2019-10-17 17:05                       ` Rich Persaud
2019-10-17 17:30                         ` Lars Kurth
2019-10-21 12:54                           ` Artem Mygaiev
2019-11-07 19:26                             ` Lars Kurth
2019-11-08 18:55                               ` Stefano Stabellini
2019-10-11  8:32     ` Jan Beulich
2019-10-11 12:25       ` Lars Kurth
2019-10-11 17:28         ` Stefano Stabellini
2019-10-11 10:49 ` Artem Mygaiev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5CFB62F9-89FA-445F-89EA-17D5F71E78AB@citrix.com \
    --to=lars.kurth@citrix.com \
    --cc=Andrew.Cooper3@citrix.com \
    --cc=Artem_Mygaiev@epam.com \
    --cc=committers@xenproject.org \
    --cc=lars.kurth.xen@gmail.com \
    --cc=persaur@gmail.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.