duplicity package license with other backend

Asked by zhoukai

I have coded a patch to support backend with alicloud archive storage service(OAS) and alicloud storage service(OSS).

The patch adjust backend object methods(like _put, _list), and also added method like _archive, _inventory to support OAS, so I won't send pull request to duplicity branch currently(in the future I will).

Right now , I want some final users to use duplicity backup there data into OAS/OSS, to make them easy to install , I want to make deb package, brew package(for mac), rpms for them.

My question is if I can use duplicity source(0.7.5) code with my patch to build a package named like 'adup'(to avoid conflict with the current duplicity released) to gnu packages source or homebrew?

Or if I can create a python package in pypi with a name like 'adup', then users maully install the dependent packages and adup python package to use duplicity.

I didn't find the place to put my patch , so if needed patch , I can send email or paste all in this board.

Thank You All to answers my question. Waiting your help.

Question information

Language:
English Edit question
Status:
Solved
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
edso
Solved:
Last query:
Last reply:
Revision history for this message
edso (ed.so) said :
#1

hey zhoukai,

duplicity is licensed as GPL2, hence a backend for duplicity using duplicity code/interfaces must be licensed as GPL2 or later as well.

is there any reason for you not to push your code as a branch to launchpad.net so we can evaluate and eventually integrate it into duplicity?

..ede/duply.net

Revision history for this message
edso (ed.so) said :
#2

On 09.11.2015 07:03, zhoukai wrote:
> Description changed to:
> I have coded a patch to support backend with alicloud archive storage
> service(OAS) and alicloud storage service(OSS).
>
> The patch adjust backend object methods(like _put, _list), and also
> added method like _archive, _inventory to support OAS, so I won't send
> pull request to duplicity branch currently(in the future I will).

ahh ok. still, the earlier you propose a branch, the earlier you will get feedback from us which decreases the chance you develop into the incompatibility abyss ;)

> Right now , I want some final users to use duplicity backup there data
> into OAS/OSS, to make them easy to install , I want to make deb
> package, brew package(for mac), rpms for them.

ok

> My question is if I can use duplicity source(0.7.5) code with my patch
> to build a package named like 'adup'(to avoid conflict with the current
> duplicity released) to gnu packages source or homebrew?

of course, you have all the rights the GPL2 grants. be aware that "your" fork will of course miss future bug fixes and updates.

> Or if I can create a python package in pypi with a name like 'adup',
> then users maully install the dependent packages and adup python package
> to use duplicity.

whatever floats your boat.

> I didn't find the place to put my patch , so if needed patch , I can
> send email or paste all in this board.
>
> Thank You All to answers my question. Waiting your help.

if at all possible, register with launchpad.net and push a branch.

..ede/duply.net

Revision history for this message
zhoukai (stef9k) said :
#3

hi ,

I certainly want to push my code to branch, but unlike S3 archive storage object to Glacier with lifecycle, OSS haven't cover the lifecycle to archive data into OAS yet(I don't know if there will be),

 so I developed the alicloud patch to put meta data(like manifest , signature files) to OSS , and archive real data file(volumes ) straight to OAS.

With this difference, I will break the original duplicity code framework, so I don't think your duplicity team will accept my patch ;(

 I'm a new coder, also I'm new to this project, any ideas to fit with my demand?

thank you
zhoukai

Revision history for this message
Best edso (ed.so) said :
#4

On 09.11.2015 11:37, zhoukai wrote:
> Question #273909 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/273909
>
> Status: Answered => Open
>
> zhoukai is still having a problem:
> hi ,
>
> I certainly want to push my code to branch, but unlike S3 archive
> storage object to Glacier with lifecycle, OSS haven't cover the
> lifecycle to archive data into OAS yet(I don't know if there will be),
>
> so I developed the alicloud patch to put meta data(like manifest ,
> signature files) to OSS , and archive real data file(volumes ) straight
> to OAS.
>
> With this difference, I will break the original duplicity code
> framework, so I don't think your duplicity team will accept my patch ;(
>
> I'm a new coder, also I'm new to this project, any ideas to fit with
> my demand?
>

i don't see a general issue there. to go forward i would suggest that you check/adapt

- your backend is implementing our standard methods, so you are API compatible
- keep your specifics completely in your backend module
- maybe implement a default mode that keeps everything on OSS, but have a parameter to enable to your "split" mode
not to forget
- update the manpage (requirements, url, parameters ...)

push that to bazaar and we can have a look and move further.

..ede/duply.net

Revision history for this message
zhoukai (stef9k) said :
#5

Thanks edso, that solved my question.