Re: [gentoo-user] what goes on with duplicity?

2016-05-28 Thread Andrew Savchenko
On Sun, 22 May 2016 03:47:43 -0400 cov...@ccs.covici.com wrote:
> Hi.  I  have been using (on advise from someone here),
> app-backup/duplicity from the rinaldus overlay, but in the latest update
> which I have postponed, gentoo has updated to the same version as the
> overlay, but has chosen to have a mandatory use flag of -azure which
> would cause my backups not to work, as I am updating to azure storage.
> How can I prevent this from happening?  The versions are the same, so is
> there a way to mask this off?

There is no azure USE flag in duplicity from the main tree, the
"(-azure)" notation you see means that flag is no longer here in
the new version to install.



> Note that I had to patch the back end for azure with something to fix a
> typo, so I wonder if this has something to do with the  problem?

No, it isn't. Your problem comes from a way how you installed
duplicity from rinaldus overlay. How this overlay is enabled? What
priority have you set?

What you basically need is to prefer overlay version over version
from the tree.

Eix shows me 6 overlays with this ebuild, but there is no
"rinaldus" on the list, it isn't in layman either. You should have
a record of your overlay somewhere in
  /etc/portage/repos.conf/*.conf
set
  priority = 50
for this overlay, so it will have precedence over the main
portage tree.

Another way to solve this issue is to mask duplicity only from
gentoo tree, add to your /etc/portage/package.mask:

  app-backup/duplicity::gentoo

This way it will be installed only from overlay(s), even if in-tree
version is newer.

Of course, the best solution is to file bug for
app-backup/duplicity and ask maintainers to add azure USE flag.

Best regards,
Andrew Savchenko


pgpTDHGbaRW2N.pgp
Description: PGP signature


Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Neil Bothwick  wrote:

> On Sun, 22 May 2016 07:40:28 -0400, cov...@ccs.covici.com wrote:
> 
> > > There is no mention of azure in the ebuild, but the postinst message
> > > says you should install any necessary backends separately. I only use
> > > it with SFTP and S3 so have no idea what you need to install (if
> > > anything) for azure support.  
> > 
> > I was concerned that my azure backend would disappear because of the
> > (-azure)* in the use flags, but maybe not.
> > Thanks for the hint.
> 
> If the overlay ebuild includes the azure backend, maybe you should stick
> with that. Just give the overlay a higher priority
> in /etc/portage/repos.conf

Well, they took app-backup/duplicity out of the overlay after my last
sync.  The old ebuild refers to dev-python/azure which I cannot find
anywhere and it seems after emerging, I haven't lost anything, so I will
delete the overlay and repatch the azure-backend.py and see what
happens.

Thanks all for your help, gentoo is great.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread Neil Bothwick
On Sun, 22 May 2016 07:40:28 -0400, cov...@ccs.covici.com wrote:

> > There is no mention of azure in the ebuild, but the postinst message
> > says you should install any necessary backends separately. I only use
> > it with SFTP and S3 so have no idea what you need to install (if
> > anything) for azure support.  
> 
> I was concerned that my azure backend would disappear because of the
> (-azure)* in the use flags, but maybe not.
> Thanks for the hint.

If the overlay ebuild includes the azure backend, maybe you should stick
with that. Just give the overlay a higher priority
in /etc/portage/repos.conf


-- 
Neil Bothwick

Frog philosophy: Time's fun when you're having flies.


pgpKDirOrwqTj.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Alan McKinnon  wrote:

> On 22/05/2016 08:52, cov...@ccs.covici.com wrote:
> > Hi.  I  have been using (on advise from someone here),
> > app-backup/duplicity from the rinaldus overlay, but in the latest update
> > which I have postponed, gentoo has updated to the same version as the
> > overlay, but has chosen to have a mandatory use flag of -azure which
> > would cause my backups not to work, as I am updating to azure storage.
> > How can I prevent this from happening?  The versions are the same, so is
> > there a way to mask this off?
> > 
> > Note that I had to patch the back end for azure with something to fix a
> > typo, so I wonder if this has something to do with the  problem?
> > 
> > Thanks in advance for any suggestions.
> > 
> 
> 
> I think you want section "Repository Constraints" in man 5 portage

OK, thanks, that was useful.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Neil Bothwick  wrote:

> On Sun, 22 May 2016 02:52:18 -0400, cov...@ccs.covici.com wrote:
> 
> > Hi.  I  have been using (on advise from someone here),
> > app-backup/duplicity from the rinaldus overlay, but in the latest update
> > which I have postponed, gentoo has updated to the same version as the
> > overlay, but has chosen to have a mandatory use flag of -azure which
> > would cause my backups not to work, as I am updating to azure storage.
> > How can I prevent this from happening?  The versions are the same, so is
> > there a way to mask this off?
> 
> There is no mention of azure in the ebuild, but the postinst message says
> you should install any necessary backends separately. I only use it with
> SFTP and S3 so have no idea what you need to install (if anything) for
> azure support.

I was concerned that my azure backend would disappear because of the
(-azure)* in the use flags, but maybe not.
Thanks for the hint.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread Neil Bothwick
On Sun, 22 May 2016 02:52:18 -0400, cov...@ccs.covici.com wrote:

> Hi.  I  have been using (on advise from someone here),
> app-backup/duplicity from the rinaldus overlay, but in the latest update
> which I have postponed, gentoo has updated to the same version as the
> overlay, but has chosen to have a mandatory use flag of -azure which
> would cause my backups not to work, as I am updating to azure storage.
> How can I prevent this from happening?  The versions are the same, so is
> there a way to mask this off?

There is no mention of azure in the ebuild, but the postinst message says
you should install any necessary backends separately. I only use it with
SFTP and S3 so have no idea what you need to install (if anything) for
azure support.


-- 
Neil Bothwick

Confucius say :
He who play in root, eventually kill tree!


pgpUaOhxqJpaX.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread Alan McKinnon
On 22/05/2016 08:52, cov...@ccs.covici.com wrote:
> Hi.  I  have been using (on advise from someone here),
> app-backup/duplicity from the rinaldus overlay, but in the latest update
> which I have postponed, gentoo has updated to the same version as the
> overlay, but has chosen to have a mandatory use flag of -azure which
> would cause my backups not to work, as I am updating to azure storage.
> How can I prevent this from happening?  The versions are the same, so is
> there a way to mask this off?
> 
> Note that I had to patch the back end for azure with something to fix a
> typo, so I wonder if this has something to do with the  problem?
> 
> Thanks in advance for any suggestions.
> 


I think you want section "Repository Constraints" in man 5 portage

-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Hi.  I  have been using (on advise from someone here),
app-backup/duplicity from the rinaldus overlay, but in the latest update
which I have postponed, gentoo has updated to the same version as the
overlay, but has chosen to have a mandatory use flag of -azure which
would cause my backups not to work, as I am updating to azure storage.
How can I prevent this from happening?  The versions are the same, so is
there a way to mask this off?

Note that I had to patch the back end for azure with something to fix a
typo, so I wonder if this has something to do with the  problem?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Hi.  I  have been using (on advise from someone here),
app-backup/duplicity from the rinaldus overlay, but in the latest update
which I have postponed, gentoo has updated to the same version as the
overlay, but has chosen to have a mandatory use flag of -azure which
would cause my backups not to work, as I am updating to azure storage.
How can I prevent this from happening?  The versions are the same, so is
there a way to mask this off?

Note that I had to patch the back end for azure with something to fix a
typo, so I wonder if this has something to do with the  problem?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com