[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#897230: marked as done (qa.debian.org: the instructions for UDD development do not work)



Your message dated Fri, 4 Jan 2019 17:14:18 +0100
with message-id <20190104161418.taj2y4cr3wtb6gsx@xanadu.blop.info>
and subject line Re: Bug#897230: qa.debian.org: the instructions for UDD development do not work
has caused the Debian Bug report #897230,
regarding qa.debian.org: the instructions for UDD development do not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
897230: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897230
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qa.debian.org
Severity: normal
Tags: patch

Dear UDD maintainer,

While attempting to make a patch for #897228, I discovered that the
instructions in [the wiki](https://wiki.debian.org/UltimateDebianDatabase/Hacking)
to setup a UDD development environment do not work:

- Vagrantfile refers to a local/contrib-stretch base box that
  probably only exists on your machine; please use debian/stretch64 or somesuch.
- `vagrant up` fails because the repository contains dangling symlinks
  that rsync refuses to copy.

I am including patches for those issues.


Unfortunately, none of the scripts under `vagrant/` that are offered to get
real UDD data for development will work for anyone but you: both assume SSH
access to ullman.debian.org, as user lucas.

Would it be possible instead to have UDD publish regular database dumps,
compressed and served over HTTPS?  As far as I understand, UDD only contains
public data, and this would make it possible for other people to contribute to
UDD :)


Best,

  nicoo

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

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
>From 4920a15185487dc6a5bd0c63f3a9e9fae210dc39 Mon Sep 17 00:00:00 2001
From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
Date: Mon, 30 Apr 2018 14:36:49 +0200
Subject: [PATCH 1/3] gitignore the .vagrant directory

---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index d791b0f..4a8e0eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ web/how-can-i-help.json.gz
 debian.bib
 debian.pdf
 debian.tex
+/.vagrant
\ No newline at end of file
-- 
2.17.0

>From a636d2cf41d39df1bc7a5f2ae668479a26ae1a66 Mon Sep 17 00:00:00 2001
From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
Date: Mon, 30 Apr 2018 14:37:57 +0200
Subject: [PATCH 2/3] Vagrantfile: Use a base box that is globally available

---
 Vagrantfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Vagrantfile b/Vagrantfile
index 3aac1db..e19546f 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -2,7 +2,7 @@
 # vi: set ft=ruby :
 
 Vagrant.configure(2) do |config|
-  config.vm.box = "local/contrib-stretch"
+  config.vm.box = "debian/stretch64"
 
   config.vm.network "forwarded_port", guest: 80, host: 8080
 
-- 
2.17.0

>From 3e5eba28fbcfd55593551fcb6d31ba59d1951bbd Mon Sep 17 00:00:00 2001
From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
Date: Mon, 30 Apr 2018 14:48:34 +0200
Subject: [PATCH 3/3] Vagrantfile: Allow symlinks in the shared folder

---
 Vagrantfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Vagrantfile b/Vagrantfile
index e19546f..46c422b 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -8,6 +8,7 @@ Vagrant.configure(2) do |config|
 
   config.vm.provider "virtualbox" do |vb|
     vb.memory = "4096"
+    vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
   end
 
   config.vm.provision "shell", path: "vagrant/provision.sh"
-- 
2.17.0


--- End Message ---
--- Begin Message ---
Hi Nicolas,

On 30/04/18 at 14:56 +0200, Nicolas Braud-Santoni wrote:
> Package: qa.debian.org
> Severity: normal
> Tags: patch
> 
> Dear UDD maintainer,
> 
> While attempting to make a patch for #897228, I discovered that the
> instructions in [the wiki](https://wiki.debian.org/UltimateDebianDatabase/Hacking)
> to setup a UDD development environment do not work:
> 
> - Vagrantfile refers to a local/contrib-stretch base box that
>   probably only exists on your machine; please use debian/stretch64 or somesuch.

I fixed this

> - `vagrant up` fails because the repository contains dangling symlinks
>   that rsync refuses to copy.

I think this is fixed too. I switched to using the contrib-stretch64,
which uses the (non-free) vboxfs module, but does not use rsync to
synchronize files.

I'm closing this bug. Please reopen if you still have issues.

Lucas

--- End Message ---

Reply to: