Processed: Re: Bug#891484: stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1

2018-03-03 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + pending
Bug #891484 [release.debian.org] stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1
Added tag(s) pending.

-- 
891484: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891484
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#891484: stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1

2018-03-03 Thread Adam D. Barratt
Control: tags -1 + pending

On Wed, 2018-02-28 at 10:00 -0300, Antonio Terceiro wrote:
> On Tue, Feb 27, 2018 at 06:41:01PM +, Adam D. Barratt wrote:
> > Control: tags -1 -moreinfo +confirmed
> > 
> > On Mon, 2018-02-26 at 18:36 -0300, Antonio Terceiro wrote:
> > > On Mon, Feb 26, 2018 at 08:42:56PM +, Adam D. Barratt wrote:
> > > > Control: tags -1 + moreinfo
> > > > 
> > > > On Sun, 2018-02-25 at 22:10 -0300, Antonio Terceiro wrote:
> > > > > The platform from where vagrant downloads images has been
> > > > > discontinued
> > > > > and we need to switch the default download location plus
> > > > > documentation,
> > > > > usage messages etc to match the new platform. Without this
> > > > > update,
> > > > > vagrant is pretty useless.
> > > > > 
> > > > 
> > > > So far as I can tell, this issue also affects the version of
> > > > vagrant in
> > > > unstable and has not yet been fixed there. Assuming that's
> > > > correct,
> > > > the
> > > > bug will need resolving in unstable first.
> > > 
> > > Ah, I thought I adjusted the bug metadata yesterday, but it seems
> > > I
> > > didn't.
> > > 
> > > No, unstable is not affected. This has been done upstream for a
> > > while,
> > > this update is a backport of the change -- which we already have
> > > in
> > > the
> > > version in unstable -- to stable.
> > 
> > Thanks. Please feel free to upload.
> 
> uploaded.

Flagged for acceptance into p-u.

Regards,

Adam



Bug#891484: stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1

2018-02-28 Thread Antonio Terceiro
On Tue, Feb 27, 2018 at 06:41:01PM +, Adam D. Barratt wrote:
> Control: tags -1 -moreinfo +confirmed
> 
> On Mon, 2018-02-26 at 18:36 -0300, Antonio Terceiro wrote:
> > On Mon, Feb 26, 2018 at 08:42:56PM +, Adam D. Barratt wrote:
> > > Control: tags -1 + moreinfo
> > > 
> > > On Sun, 2018-02-25 at 22:10 -0300, Antonio Terceiro wrote:
> > > > The platform from where vagrant downloads images has been
> > > > discontinued
> > > > and we need to switch the default download location plus
> > > > documentation,
> > > > usage messages etc to match the new platform. Without this
> > > > update,
> > > > vagrant is pretty useless.
> > > > 
> > > 
> > > So far as I can tell, this issue also affects the version of
> > > vagrant in
> > > unstable and has not yet been fixed there. Assuming that's correct,
> > > the
> > > bug will need resolving in unstable first.
> > 
> > Ah, I thought I adjusted the bug metadata yesterday, but it seems I
> > didn't.
> > 
> > No, unstable is not affected. This has been done upstream for a
> > while,
> > this update is a backport of the change -- which we already have in
> > the
> > version in unstable -- to stable.
> 
> Thanks. Please feel free to upload.

uploaded.


signature.asc
Description: PGP signature


Bug#891484: stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1

2018-02-27 Thread Adam D. Barratt
Control: tags -1 -moreinfo +confirmed

On Mon, 2018-02-26 at 18:36 -0300, Antonio Terceiro wrote:
> On Mon, Feb 26, 2018 at 08:42:56PM +, Adam D. Barratt wrote:
> > Control: tags -1 + moreinfo
> > 
> > On Sun, 2018-02-25 at 22:10 -0300, Antonio Terceiro wrote:
> > > The platform from where vagrant downloads images has been
> > > discontinued
> > > and we need to switch the default download location plus
> > > documentation,
> > > usage messages etc to match the new platform. Without this
> > > update,
> > > vagrant is pretty useless.
> > > 
> > 
> > So far as I can tell, this issue also affects the version of
> > vagrant in
> > unstable and has not yet been fixed there. Assuming that's correct,
> > the
> > bug will need resolving in unstable first.
> 
> Ah, I thought I adjusted the bug metadata yesterday, but it seems I
> didn't.
> 
> No, unstable is not affected. This has been done upstream for a
> while,
> this update is a backport of the change -- which we already have in
> the
> version in unstable -- to stable.

Thanks. Please feel free to upload.

Regards,

Adam



Processed: Re: Bug#891484: stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1

2018-02-27 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 -moreinfo +confirmed
Bug #891484 [release.debian.org] stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1
Ignoring request to alter tags of bug #891484 to the same tags previously set
Bug #891484 [release.debian.org] stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1
Added tag(s) confirmed.

-- 
891484: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891484
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#891484: stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1

2018-02-26 Thread Antonio Terceiro
On Mon, Feb 26, 2018 at 08:42:56PM +, Adam D. Barratt wrote:
> Control: tags -1 + moreinfo
> 
> On Sun, 2018-02-25 at 22:10 -0300, Antonio Terceiro wrote:
> > The platform from where vagrant downloads images has been
> > discontinued
> > and we need to switch the default download location plus
> > documentation,
> > usage messages etc to match the new platform. Without this update,
> > vagrant is pretty useless.
> > 
> 
> So far as I can tell, this issue also affects the version of vagrant in
> unstable and has not yet been fixed there. Assuming that's correct, the
> bug will need resolving in unstable first.

Ah, I thought I adjusted the bug metadata yesterday, but it seems I
didn't.

No, unstable is not affected. This has been done upstream for a while,
this update is a backport of the change -- which we already have in the
version in unstable -- to stable.


signature.asc
Description: PGP signature


Bug#891484: stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1

2018-02-26 Thread Adam D. Barratt
Control: tags -1 + moreinfo

On Sun, 2018-02-25 at 22:10 -0300, Antonio Terceiro wrote:
> The platform from where vagrant downloads images has been
> discontinued
> and we need to switch the default download location plus
> documentation,
> usage messages etc to match the new platform. Without this update,
> vagrant is pretty useless.
> 

So far as I can tell, this issue also affects the version of vagrant in
unstable and has not yet been fixed there. Assuming that's correct, the
bug will need resolving in unstable first.

Regards,

Adam



Processed: Re: Bug#891484: stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1

2018-02-26 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + moreinfo
Bug #891484 [release.debian.org] stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1
Added tag(s) moreinfo.

-- 
891484: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891484
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#891484: stretch-pu: package vagrant/1.9.1+dfsg-1+deb9u1

2018-02-25 Thread Antonio Terceiro
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian@packages.debian.org
Usertags: pu

The platform from where vagrant downloads images has been discontinued
and we need to switch the default download location plus documentation,
usage messages etc to match the new platform. Without this update,
vagrant is pretty useless.

Changelog:

vagrant (1.9.1+dfsg-1+deb9u1) stretch; urgency=medium

  * 0008-Convert-atlas-references-to-vagrant-cloud.patch: backport upstream
patch to download boxes from app.vagrantcloud.com instead of the
deprecated atlas.hashicorp.com (Closes: #889873)

 -- Antonio Terceiro   Sun, 25 Feb 2018 21:54:18 -0300

Diff against package in stretch attached.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), 
LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff --git a/debian/changelog b/debian/changelog
index 39dbcb2..48bff55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+vagrant (1.9.1+dfsg-1+deb9u1) stretch; urgency=medium
+
+  * 0008-Convert-atlas-references-to-vagrant-cloud.patch: backport upstream
+patch to download boxes from app.vagrantcloud.com instead of the
+deprecated atlas.hashicorp.com (Closes: #889873)
+
+ -- Antonio Terceiro   Sun, 25 Feb 2018 21:54:18 -0300
+
 vagrant (1.9.1+dfsg-1) unstable; urgency=medium
 
   * New upstream version 1.9.1+dfsg
diff --git a/debian/patches/0008-Convert-atlas-references-to-vagrant-cloud.patch b/debian/patches/0008-Convert-atlas-references-to-vagrant-cloud.patch
new file mode 100644
index 000..20533be
--- /dev/null
+++ b/debian/patches/0008-Convert-atlas-references-to-vagrant-cloud.patch
@@ -0,0 +1,286 @@
+From: Chris Roberts 
+Date: Sun, 25 Feb 2018 21:53:24 -0300
+Subject: Convert atlas references to vagrant cloud
+
+Backported-by: Antonio Terceiro 
+---
+ lib/vagrant/shared_helpers.rb   |  4 ++--
+ plugins/commands/box/command/add.rb |  2 +-
+ plugins/commands/login/client.rb| 21 -
+ plugins/commands/login/command.rb   |  8 
+ plugins/commands/login/locales/en.yml   | 10 +-
+ .../commands/login/middleware/add_authentication.rb |  3 ++-
+ plugins/commands/login/plugin.rb|  2 +-
+ templates/commands/init/Vagrantfile.erb |  9 +
+ templates/locales/en.yml|  8 
+ test/unit/plugins/commands/login/client_test.rb |  4 ++--
+ 10 files changed, 34 insertions(+), 37 deletions(-)
+
+diff --git a/lib/vagrant/shared_helpers.rb b/lib/vagrant/shared_helpers.rb
+index ffe61e5..93f4c11 100644
+--- a/lib/vagrant/shared_helpers.rb
 b/lib/vagrant/shared_helpers.rb
+@@ -5,12 +5,12 @@ require "thread"
+ module Vagrant
+   @@global_lock = Mutex.new
+ 
+-  # This is the default endpoint of the Atlas in
++  # This is the default endpoint of the Vagrant Cloud in
+   # use. API calls will be made to this for various functions
+   # of Vagrant that may require remote access.
+   #
+   # @return [String]
+-  DEFAULT_SERVER_URL = "https://atlas.hashicorp.com;
++  DEFAULT_SERVER_URL = "https://vagrantcloud.com;
+ 
+   # This holds a global lock for the duration of the block. This should
+   # be invoked around anything that is modifying process state (such as
+diff --git a/plugins/commands/box/command/add.rb b/plugins/commands/box/command/add.rb
+index 5545ea2..d8ae063 100644
+--- a/plugins/commands/box/command/add.rb
 b/plugins/commands/box/command/add.rb
+@@ -40,7 +40,7 @@ module VagrantPlugins
+ end
+ 
+ o.separator ""
+-o.separator "The box descriptor can be the name of a box on HashiCorp's Atlas,"
++o.separator "The box descriptor can be the name of a box on HashiCorp's Vagrant Cloud,"
+ o.separator "or a URL, or a local .box file, or a local .json file containing"
+ o.separator "the catalog metadata."
+ o.separator ""
+diff --git a/plugins/commands/login/client.rb b/plugins/commands/login/client.rb
+index 04b6ee0..fb2dd05 100644
+--- a/plugins/commands/login/client.rb
 b/plugins/commands/login/client.rb
+@@ -86,28 +86,26 @@ module VagrantPlugins
+   end
+ 
+   # Reads the access token if there is one. This will first read the
+-  # `ATLAS_TOKEN` environment variable and then fallback to the stored
++  # `VAGRANT_CLOUD_TOKEN` environment variable and then fallback to the stored
+   # access token on