I didn't use user because where I built it this ended up being 'christo'.
When I then installed on Ubuntu it complained with a lot of warnings
because the user 'christo' was not found and defaulted to root.

I wanted root so I fixed this by using user 'root' in the "into" copy
extension. The trouble is that the "into" folder then still ended up with
user 'christo'. I then moved that to the ospackage section. It seems that
the user field in the ospackage section is also used by the copy extension?
Not sure how to fix that. Maybe you've got a better idea?

Another option could be to rename user to author, then it would be easy to
use the same field for both Rpm and Deb.




On 13 December 2013 09:15, Justin Ryan <notifications@github.com> wrote:

> In src/main/groovy/com/netflix/gradle/plugins/deb/DebCopyAction.groovy:
>
> > @@ -207,7 +212,9 @@ class DebCopyAction extends AbstractPackagingCopyAction {
> >                  name: debTask.getPackageName(),
> >                  version: debTask.getVersion(),
> >                  release: debTask.getRelease(),
> > -                author: debTask.getUser(),
>
> Why not re-use "user"? It'd be better to have fields shared between Rpm
> and Deb is possible.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/1/files#r8325824>
> .
>