You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/02/05 17:23:00 UTC

[jira] [Commented] (DAFFODIL-2144) Standard schema project layout - suggested build.sbt is outdated

    [ https://issues.apache.org/jira/browse/DAFFODIL-2144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279836#comment-17279836 ] 

Steve Lawrence commented on DAFFODIL-2144:
------------------------------------------

Because this template is somewhat specific to Daffodil due to sbt and the daffodil dependency, it probably doesn't make sense for this to be part of DFDLSchemas.

An Apache Daffodil repository may make sense. Note that the "sbt new" command requires that g8 template repositories must end in g8 or it will refuse to treat it as a template repo. So the "apache/daffodil" github repo will not work for this purpose. We would instead need to create a new repo, perhaps something like "apache/daffodil-schema.g8". Then creating a new schema project layout becomes:
{code}
sbt new apache/daffodil-schema.g8
{code}
Since graduation is close, I suggest we wait until after graduating until we create this repo to minimize the headache of migrating to non-incubator names.

Another consideration, if we put this g8 template in an ASF repo like suggested above, it needs to all be ALv2 licensed. I imagine anything that is generated via these templates are considered a derived work, and thus will also be licensed ALv2? ALv2 is very permissive, but I'm not sure we want to enforce that all schemas using this template be ALv2 licensed. Perhaps that's an argument against this being part of Apache infrastructure and should live somewhere else? Or perhaps this this template is considered so basic that it isn't copyrightable and so could be distributed without a license, and allow the user to add their own license?

> Standard schema project layout - suggested build.sbt is outdated
> ----------------------------------------------------------------
>
>                 Key: DAFFODIL-2144
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2144
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 2.4.0
>            Reporter: Mike Beckerle
>            Assignee: Steve Lawrence
>            Priority: Major
>              Labels: beginner
>
> The example build.sbt is the old-style.
> We should update to the new style.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)