commit dub for openSUSE:Factory

2020-05-17 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2020-05-17 23:42:52

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new.2738 (New)


Package is "dub"

Sun May 17 23:42:52 2020 rev:19 rq:806047 version:1.20.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2019-08-15 12:29:04.238510728 
+0200
+++ /work/SRC/openSUSE:Factory/.dub.new.2738/dub.changes2020-05-17 
23:42:58.197033777 +0200
@@ -1,0 +2,5 @@
+Tue May  5 11:50:57 UTC 2020 - Paolo Stivanin 
+
+- Update to 1.20.0 (no changelog) 
+
+---

Old:

  dub-1.16.0.tar.gz

New:

  dub-1.20.0.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.QeA7me/_old  2020-05-17 23:43:01.005039415 +0200
+++ /var/tmp/diff_new_pack.QeA7me/_new  2020-05-17 23:43:01.009039424 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package dub
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 %bcond_with dcompiler_dmd
 %endif
 Name:   dub
-Version:1.16.0
+Version:1.20.0
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT
@@ -76,7 +76,7 @@
 install -D -m 755 bin/%{name} %{buildroot}%{_bindir}/
 
 %files
-%doc CHANGELOG.md README.md
+%doc README.md
 %license LICENSE
 %{_bindir}/%{name}
 

++ dub-1.16.0.tar.gz -> dub-1.20.0.tar.gz ++
 5314 lines of diff (skipped)




commit dub for openSUSE:Factory

2019-08-15 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2019-08-15 12:29:02

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new.9556 (New)


Package is "dub"

Thu Aug 15 12:29:02 2019 rev:18 rq:723310 version:1.16.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2019-03-18 10:43:45.403120341 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new.9556/dub.changes2019-08-15 
12:29:04.238510728 +0200
@@ -1,0 +2,6 @@
+Wed Aug 14 13:41:19 UTC 2019 - Matthias Eliasson 
+
+- Update to version 1.16.0 
+  * No changelog was made available.
+
+---

Old:

  dub-1.14.0.tar.gz

New:

  dub-1.16.0.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.PJVPYj/_old  2019-08-15 12:29:05.226509812 +0200
+++ /var/tmp/diff_new_pack.PJVPYj/_new  2019-08-15 12:29:05.230509809 +0200
@@ -23,12 +23,12 @@
 %bcond_with dcompiler_dmd
 %endif
 Name:   dub
-Version:1.14.0
+Version:1.16.0
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT
 Group:  Development/Languages/Other
-URL:http://code.dlang.org
+URL:https://code.dlang.org
 Source: 
https://github.com/dlang/dub/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libcurl)

++ dub-1.14.0.tar.gz -> dub-1.16.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.14.0/.github/FUNDING.yml 
new/dub-1.16.0/.github/FUNDING.yml
--- old/dub-1.14.0/.github/FUNDING.yml  1970-01-01 01:00:00.0 +0100
+++ new/dub-1.16.0/.github/FUNDING.yml  2019-07-02 11:57:23.0 +0200
@@ -0,0 +1,4 @@
+# 
https://help.github.com/en/articles/displaying-a-sponsor-button-in-your-repository
+
+open_collective: dlang
+custom: https://dlang.org/foundation/donate.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.14.0/.travis.yml new/dub-1.16.0/.travis.yml
--- old/dub-1.14.0/.travis.yml  2019-03-01 16:41:12.0 +0100
+++ new/dub-1.16.0/.travis.yml  2019-07-02 11:57:23.0 +0200
@@ -21,7 +21,9 @@
 - d: gdc
   include:
 - stage: test
-  d: dmd-2.081.1
+  d: dmd-2.086.0
+  env: [FRONTEND=2.086]
+- d: dmd-2.081.1
   env: [FRONTEND=2.081]
 - d: dmd-2.080.1
   env: [FRONTEND=2.080]
@@ -33,14 +35,6 @@
   env: [FRONTEND=2.077, COVERAGE=true]
 - d: dmd-2.076.1
   env: [FRONTEND=2.076]
-- d: dmd-2.075.1
-  env: [FRONTEND=2.075]
-- d: dmd-2.074.1
-  env: [FRONTEND=2.074]
-- d: dmd-2.073.2
-  env: [FRONTEND=2.073]
-- d: dmd-2.072.2
-  env: [FRONTEND=2.072]
 - d: ldc-1.10.0
   env: [FRONTEND=2.080]
 - d: ldc-1.9.0
@@ -51,14 +45,8 @@
   env: [FRONTEND=2.077]
 - d: ldc-1.6.0
   env: [FRONTEND=2.076]
-- d: ldc-1.5.0
-  env: [FRONTEND=2.075]
-- d: ldc-1.4.0
-  env: [FRONTEND=2.074]
-- d: ldc-1.3.0
-  env: [FRONTEND=2.073]
 - stage: deploy
-  d: ldc
+  d: ldc-1.15.0
   os: osx
   script: echo "Deploying to GitHub releases ..." && ./release.sh
   deploy:
@@ -69,7 +57,7 @@
   api_key: $GH_REPO_TOKEN
   on:
 tags: true
-- d: ldc
+- d: ldc-1.15.0
   script: echo "Deploying to GitHub releases ..." && ./release.sh
   env: [ARCH=32]
   addons:
@@ -85,7 +73,7 @@
   api_key: $GH_REPO_TOKEN
   on:
 tags: true
-- d: ldc
+- d: ldc-1.15.0
   script: echo "Deploying to GitHub releases ..." && ./release.sh
   deploy:
 - provider: releases
@@ -95,7 +83,7 @@
   api_key: $GH_REPO_TOKEN
   on:
 tags: true
-- d: ldc
+- d: ldc-1.15.0
   script: echo "Deploying to GitHub releases (win32) ..." && 
./release-windows.sh
   addons:
 apt:
@@ -109,7 +97,7 @@
   api_key: $GH_REPO_TOKEN
   on:
 tags: true
-- d: ldc
+- d: ldc-1.15.0
   script: echo "Deploying to GitHub releases (win64) ..." && ARCH=64 
./release-windows.sh
   addons:
 apt:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.14.0/README.md new/dub-1.16.0/README.md
--- old/dub-1.14.0/README.md2019-03-01 16:41:12.0 +0100
+++ new/dub-1.16.0/README.md2019-07-02 11:57:23.0 +0200
@@ -60,7 +60,7 @@
 ## Minimal D compiler required to build DUB
 
 In general it is always recommended to build DUB with the latest version of 
your 

commit dub for openSUSE:Factory

2019-03-18 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2019-03-18 10:43:40

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new.28833 (New)


Package is "dub"

Mon Mar 18 10:43:40 2019 rev:17 rq:685840 version:1.14.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2019-02-13 10:03:30.157589444 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new.28833/dub.changes   2019-03-18 
10:43:45.403120341 +0100
@@ -1,0 +2,9 @@
+Sun Mar 17 15:55:15 UTC 2019 - Matthias Eliasson 
+
+- Update to version 1.14.0 
+  * dub fetch now supports @ as a shortcut
+  * extraDependencyFiles attribute added
+  * File system supplier enabled
+  * toolchainRequirements recipe entry
+
+---

Old:

  dub-1.13.0.tar.gz

New:

  dub-1.14.0.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.CHU2d9/_old  2019-03-18 10:43:46.455119211 +0100
+++ /var/tmp/diff_new_pack.CHU2d9/_new  2019-03-18 10:43:46.459119206 +0100
@@ -23,7 +23,7 @@
 %bcond_with dcompiler_dmd
 %endif
 Name:   dub
-Version:1.13.0
+Version:1.14.0
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT

++ dub-1.13.0.tar.gz -> dub-1.14.0.tar.gz ++
 1713 lines of diff (skipped)




commit dub for openSUSE:Factory

2019-02-13 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2019-02-13 10:03:27

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new.28833 (New)


Package is "dub"

Wed Feb 13 10:03:27 2019 rev:16 rq:673435 version:1.13.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2019-01-28 20:49:13.285856021 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new.28833/dub.changes   2019-02-13 
10:03:30.157589444 +0100
@@ -1,0 +2,5 @@
+Mon Feb 11 13:46:36 UTC 2019 - Guillaume GARDET 
+
+- Increase required memory in _constraints as latest ldc requires more RAM
+
+---



Other differences:
--
++ _constraints ++
--- /var/tmp/diff_new_pack.34bf9X/_old  2019-02-13 10:03:30.689589312 +0100
+++ /var/tmp/diff_new_pack.34bf9X/_new  2019-02-13 10:03:30.689589312 +0100
@@ -2,7 +2,7 @@
 
   
 
-  2500
+  3500
 
   
 




commit dub for openSUSE:Factory

2019-01-28 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2019-01-28 20:48:15

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new.28833 (New)


Package is "dub"

Mon Jan 28 20:48:15 2019 rev:15 rq:668743 version:1.13.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2019-01-08 12:31:02.172104909 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new.28833/dub.changes   2019-01-28 
20:49:13.285856021 +0100
@@ -1,0 +2,6 @@
+Fri Jan 25 07:29:14 UTC 2019 - Guillaume GARDET 
+
+- Add _constraints to avoid OOM errors
+- Fix builds with ldc on %ix86
+
+---

New:

  _constraints



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.FlX9IW/_old  2019-01-28 20:49:14.053855212 +0100
+++ /var/tmp/diff_new_pack.FlX9IW/_new  2019-01-28 20:49:14.053855212 +0100
@@ -61,13 +61,14 @@
 
 %if %{with dcompiler_dmd}
   dmd -defaultlib=:libphobos2.so \
+  -g \
 %else
   ldmd2 \
-%endif
-  -ofbin/dub -w -O \
-%ifnarch %{arm}
+%ifnarch %{arm} %{ix86}
   -g \
 %endif
+%endif
+  -ofbin/dub -w -O \
   -version=DubUseCurl -Isource -L-lcurl @build-files.txt
 
 %install

++ _constraints ++


  

  2500

  




commit dub for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2019-01-08 12:28:30

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new.28833 (New)


Package is "dub"

Tue Jan  8 12:28:30 2019 rev:14 rq:663064 version:1.13.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-12-13 19:47:26.268779164 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new.28833/dub.changes   2019-01-08 
12:31:02.172104909 +0100
@@ -1,0 +2,11 @@
+Sat Jan  5 19:04:03 UTC 2019 - Matthias Eliasson 
+
+- Update to version 1.13.0
+  * Add Command
+  * dub now supports $DUB variable
+  * Pre/Post run commands added
+  * Shebang without .d extension
+  * Sort JSON
+  * Added experimental feature to improve build cache efficiency
+
+---

Old:

  dub-1.12.0.tar.gz

New:

  dub-1.13.0.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.Xm7JKR/_old  2019-01-08 12:31:02.652104386 +0100
+++ /var/tmp/diff_new_pack.Xm7JKR/_new  2019-01-08 12:31:02.652104386 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package dub
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 %bcond_with dcompiler_dmd
 %endif
 Name:   dub
-Version:1.12.0
+Version:1.13.0
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT

++ dub-1.12.0.tar.gz -> dub-1.13.0.tar.gz ++
 2837 lines of diff (skipped)




commit dub for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-12-13 19:47:24

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new.28833 (New)


Package is "dub"

Thu Dec 13 19:47:24 2018 rev:13 rq:655420 version:1.12.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-09-15 15:36:39.992968546 
+0200
+++ /work/SRC/openSUSE:Factory/.dub.new.28833/dub.changes   2018-12-13 
19:47:26.268779164 +0100
@@ -1,0 +2,7 @@
+Wed Dec  5 21:43:38 UTC 2018 - Matthias Eliasson 
+
+- Update to version 1.12.0
+  * betterC build option has been added
+  * Environment variable DUB_PACKAGE_VERSION added
+
+---

Old:

  dub-1.11.0.tar.gz

New:

  dub-1.12.0.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.XR6Xws/_old  2018-12-13 19:47:27.464777614 +0100
+++ /var/tmp/diff_new_pack.XR6Xws/_new  2018-12-13 19:47:27.468777609 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,7 +23,7 @@
 %bcond_with dcompiler_dmd
 %endif
 Name:   dub
-Version:1.11.0
+Version:1.12.0
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT

++ dub-1.11.0.tar.gz -> dub-1.12.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.11.0/CHANGELOG.md new/dub-1.12.0/CHANGELOG.md
--- old/dub-1.11.0/CHANGELOG.md 2018-09-01 21:45:24.0 +0200
+++ new/dub-1.12.0/CHANGELOG.md 2018-11-01 13:24:22.0 +0100
@@ -1,6 +1,14 @@
 Changelog
 =
 
+v1.12.0 - 2018-11-01
+---
+See 
+
+v1.11.0 - 2018-09-01
+---
+See 
+
 v1.10.0 - 2018-07-01
 ---
 See 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.11.0/README.md new/dub-1.12.0/README.md
--- old/dub-1.11.0/README.md2018-09-01 21:45:24.0 +0200
+++ new/dub-1.12.0/README.md2018-11-01 13:24:22.0 +0100
@@ -55,3 +55,12 @@
 ## Using DUB as a library
 
 The [DUB package of DUB](http://code.dlang.org/packages/dub) can be used as a 
library to load or manipulate packages, or to resemble any functionality of the 
command line tool. The former task can be achieved by using the [Package 
class](https://github.com/dlang/dub/blob/master/source/dub/package_.d#L40). For 
examples on how to replicate the command line functionality, see 
[commandline.d](https://github.com/dlang/dub/blob/master/source/dub/commandline.d).
+
+## Minimal D compiler required to build DUB
+
+In general it is always recommended to build DUB with the latest version of 
your D compiler.
+However, currently [2.072](https://dlang.org/changelog/2.072.0.html) is 
required to build DUB from source.
+
+# Contributing
+
+New contributers are always welcome, there's plenty to work on! For an easy 
start, take a look at issues marked 
[`bootcamp`](https://github.com/dlang/dub/labels/bootcamp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.11.0/changelog/betterC_build_option.dd 
new/dub-1.12.0/changelog/betterC_build_option.dd
--- old/dub-1.11.0/changelog/betterC_build_option.dd1970-01-01 
01:00:00.0 +0100
+++ new/dub-1.12.0/changelog/betterC_build_option.dd2018-11-01 
13:24:22.0 +0100
@@ -0,0 +1,13 @@
+betterC build option has been added
+
+This build option can be used to pass `-betterC` argument to DMD or LDC:
+
+dub.json:
+---
+"buildOptions": ["betterC"]
+---
+
+dub.sdl:
+---
+buildOptions "betterC"
+---
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.11.0/changelog/buildSettingsVars.dd 
new/dub-1.12.0/changelog/buildSettingsVars.dd
--- old/dub-1.11.0/changelog/buildSettingsVars.dd   2018-09-01 
21:45:24.0 +0200
+++ new/dub-1.12.0/changelog/buildSettingsVars.dd   1970-01-01 
01:00:00.0 +0100
@@ -1,21 +0,0 @@
-Variables such as `$ARCH` or `$PLATFORM` are now supported in the build 
settings.
-
-JSON lines such as

-"lflags-posix-x86": [ "-L$PACKAGE_DIR/lib/posix-x86" ],
-"lflags-posix-x86_64": [ "-L$PACKAGE_DIR/lib/posix-x86_64" ],

-can be turned into

-"lflags-posix": [ 

commit dub for openSUSE:Factory

2018-08-31 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-08-31 10:48:02

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Fri Aug 31 10:48:02 2018 rev:11 rq:632375 version:1.10.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-07-09 13:31:32.562466220 
+0200
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-08-31 
10:48:03.983466980 +0200
@@ -1,0 +2,10 @@
+Thu Aug 30 19:41:40 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Remove '-g' flag for armv6/armv7 as it breaks the build
+
+---
+Thu Aug 30 14:29:42 UTC 2018 - Guillaume GARDET 
+
+- Use LDC compiler when DMD is not available
+
+---



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.ej6L0m/_old  2018-08-31 10:48:04.543467672 +0200
+++ /var/tmp/diff_new_pack.ej6L0m/_new  2018-08-31 10:48:04.547467677 +0200
@@ -16,6 +16,13 @@
 #
 
 
+# DMD is available only on x86*. Use LDC otherwise.
+%ifarch %{ix86} x86_64
+%bcond_without dcompiler_dmd
+%else
+%bcond_with dcompiler_dmd
+%endif
+
 Name:   dub
 Version:1.10.0
 Release:0
@@ -24,8 +31,13 @@
 Group:  Development/Languages/Other
 URL:http://code.dlang.org
 Source: 
https://github.com/dlang/dub/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+%if %{with dcompiler_dmd}
 BuildRequires:  dmd
 BuildRequires:  phobos-devel
+%else
+BuildRequires:  ldc
+BuildRequires:  ldc-phobos-devel
+%endif
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libcurl)
 
@@ -48,7 +60,16 @@
 echo "module dub.version_;" > source/dub/version_.d
 echo "enum dubVersion = \"%{version}\";" >> source/dub/version_.d
 
-dmd -defaultlib=:libphobos2.so -ofbin/dub -w -O -g -version=DubUseCurl 
-Isource -L-lcurl @build-files.txt
+%if %{with dcompiler_dmd}
+  dmd -defaultlib=:libphobos2.so \
+%else
+  ldmd2 \
+%endif
+  -ofbin/dub -w -O \
+%ifnarch %arm
+  -g \
+%endif
+  -version=DubUseCurl -Isource -L-lcurl @build-files.txt
 
 %install
 mkdir -p %{buildroot}%{_bindir}/




commit dub for openSUSE:Factory

2018-07-09 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-07-09 13:29:46

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Mon Jul  9 13:29:46 2018 rev:10 rq:621565 version:1.10.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-05-13 16:05:02.394386937 
+0200
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-07-09 
13:31:32.562466220 +0200
@@ -1,0 +2,6 @@
+Sun Jul  8 13:24:16 UTC 2018 - matthias.elias...@gmail.com
+
+- Update to 1.10.0
+  * DUB supports "customCachePaths" for providing read-only package paths
+
+---

Old:

  dub-1.9.0.tar.gz

New:

  dub-1.10.0.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.o6nb2c/_old  2018-07-09 13:31:33.062465214 +0200
+++ /var/tmp/diff_new_pack.o6nb2c/_new  2018-07-09 13:31:33.066465206 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   dub
-Version:1.9.0
+Version:1.10.0
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT

++ dub-1.9.0.tar.gz -> dub-1.10.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.9.0/.gitignore new/dub-1.10.0/.gitignore
--- old/dub-1.9.0/.gitignore2018-05-01 15:43:29.0 +0200
+++ new/dub-1.10.0/.gitignore   2018-07-03 20:08:52.0 +0200
@@ -18,6 +18,7 @@
 /bin/dub-*
 
 # Ignore files or directories created by the test suite.
+/test/test.log
 /test/custom-source-main-bug487/custom-source-main-bug487
 /test/3-copyFiles/bin/
 /test/ignore-hidden-1/ignore-hidden-1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.9.0/CHANGELOG.md new/dub-1.10.0/CHANGELOG.md
--- old/dub-1.9.0/CHANGELOG.md  2018-05-01 15:43:29.0 +0200
+++ new/dub-1.10.0/CHANGELOG.md 2018-07-03 20:08:52.0 +0200
@@ -1,6 +1,10 @@
 Changelog
 =
 
+v1.10.0 - 2018-07-01
+---
+See 
+
 v1.9.0 - 2018-05-01
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.9.0/CONTRIBUTING.md 
new/dub-1.10.0/CONTRIBUTING.md
--- old/dub-1.9.0/CONTRIBUTING.md   1970-01-01 01:00:00.0 +0100
+++ new/dub-1.10.0/CONTRIBUTING.md  2018-07-03 20:08:52.0 +0200
@@ -0,0 +1,11 @@
+# Guidelines for Contributing
+
+## Building
+
+Build a development version of dub using either `./build.sh` or `./build.cmd` 
on Windows.
+When you already have a working dub binary, you can also just run `dub build`, 
though that won't update the version string.
+
+## Changelog
+
+Every feature addition should come with a changelog entry, see the 
[changelog/README.md](changelog/README.md) for how to add a new entry. Any 
`.dd` file is rendered using ddoc and is the same format used across all dlang 
repos.
+For bugfixes make sure to automatically [close the issue via commit 
message](https://blog.github.com/2013-01-22-closing-issues-via-commit-messages/)
 (e.g. `fixes #123`), so that they can be listed in the changelog.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.9.0/build-files.txt 
new/dub-1.10.0/build-files.txt
--- old/dub-1.9.0/build-files.txt   2018-05-01 15:43:29.0 +0200
+++ new/dub-1.10.0/build-files.txt  2018-07-03 20:08:52.0 +0200
@@ -7,6 +7,12 @@
 source/dub/init.d
 source/dub/packagemanager.d
 source/dub/packagesupplier.d
+source/dub/packagesuppliers/package.d
+source/dub/packagesuppliers/fallback.d
+source/dub/packagesuppliers/filesystem.d
+source/dub/packagesuppliers/packagesupplier.d
+source/dub/packagesuppliers/maven.d
+source/dub/packagesuppliers/registry.d
 source/dub/package_.d
 source/dub/platform.d
 source/dub/project.d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.9.0/changelog/README.md 
new/dub-1.10.0/changelog/README.md
--- old/dub-1.9.0/changelog/README.md   1970-01-01 01:00:00.0 +0100
+++ new/dub-1.10.0/changelog/README.md  2018-07-03 20:08:52.0 +0200
@@ -0,0 +1,42 @@
+This directory will get copied to dlang.org and cleared when master gets
+merged into stable prior to a new release.
+
+How to add a new changelog entry to the pending changelog?
+==
+
+Create a new file in the `changelog` folder. It should end with `.dd` and look
+similar to a git commit message. The first line represents the title of the 
change.
+After an empty line follows 

commit dub for openSUSE:Factory

2018-05-13 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-05-13 16:05:00

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Sun May 13 16:05:00 2018 rev:9 rq:605187 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-04-17 11:19:07.565887094 
+0200
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-05-13 
16:05:02.394386937 +0200
@@ -1,0 +2,7 @@
+Mon May  7 21:55:40 UTC 2018 - matthias.elias...@gmail.com
+
+- Update to 1.9.0
+  * No changelog was made available.
+- Rename LICENCE.txt to LICENCE
+
+---

Old:

  dub-1.8.1.tar.gz

New:

  dub-1.9.0.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.LujLSs/_old  2018-05-13 16:05:02.958366362 +0200
+++ /var/tmp/diff_new_pack.LujLSs/_new  2018-05-13 16:05:02.962366216 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   dub
-Version:1.8.1
+Version:1.9.0
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT
@@ -56,7 +56,7 @@
 
 %files
 %doc CHANGELOG.md README.md
-%license LICENSE.txt
+%license LICENSE
 %{_bindir}/%{name}
 
 %changelog

++ dub-1.8.1.tar.gz -> dub-1.9.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.8.1/.travis.yml new/dub-1.9.0/.travis.yml
--- old/dub-1.8.1/.travis.yml   2018-04-14 18:12:05.0 +0200
+++ new/dub-1.9.0/.travis.yml   2018-05-01 15:43:29.0 +0200
@@ -7,6 +7,12 @@
 packages:
   - libevent-dev
 
+before_install:
+  # Use the dub-updating fork of the installer script until 
https://github.com/dlang/installer/pull/301 is merged
+  - wget 
https://raw.githubusercontent.com/wilzbach/installer-dub/master/script/install.sh
 -O ~/dlang/install.dub.sh
+  - . $(bash ~/dlang/install.dub.sh -a dub)
+  - dub --version
+
 script:
   - ./travis-ci.sh
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.8.1/CHANGELOG.md new/dub-1.9.0/CHANGELOG.md
--- old/dub-1.8.1/CHANGELOG.md  2018-04-14 18:12:05.0 +0200
+++ new/dub-1.9.0/CHANGELOG.md  2018-05-01 15:43:29.0 +0200
@@ -1,6 +1,9 @@
 Changelog
 =
 
+v1.9.0 - 2018-05-01
+---
+
 v1.8.1 - 2018-04-14
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.8.1/LICENSE new/dub-1.9.0/LICENSE
--- old/dub-1.8.1/LICENSE   1970-01-01 01:00:00.0 +0100
+++ new/dub-1.9.0/LICENSE   2018-05-01 15:43:29.0 +0200
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2012-2016 RejectedSoftware e.K.
+Copyright (c) 2016-2018 D Language Foundation
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.8.1/LICENSE.txt new/dub-1.9.0/LICENSE.txt
--- old/dub-1.8.1/LICENSE.txt   2018-04-14 18:12:05.0 +0200
+++ new/dub-1.9.0/LICENSE.txt   1970-01-01 01:00:00.0 +0100
@@ -1,7 +0,0 @@
-Copyright (c) 2012-2016 RejectedSoftware e.K.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software and associated documentation files (the "Software"), to deal 
in the Software without restriction, including without limitation the rights to 
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the Software, and to permit persons to whom the Software is furnished to do 
so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be 

commit dub for openSUSE:Factory

2018-04-17 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-04-17 11:19:00

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Tue Apr 17 11:19:00 2018 rev:8 rq:597227 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-04-16 12:49:30.319985511 
+0200
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-04-17 
11:19:07.565887094 +0200
@@ -1,0 +2,8 @@
+Mon Apr 16 19:46:59 UTC 2018 - matthias.elias...@gmail.com
+
+- Update to 1.8.1
+  * Fixed a regression in 1.8.0 that caused linker files specified 
+as `sourceFiles` to not get inherited properly
+issue (gh#dlang/dub#1408) pull (gh#dlang/dub#1409)
+
+---

Old:

  dub-1.8.0.tar.gz

New:

  dub-1.8.1.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.rWYJKx/_old  2018-04-17 11:19:08.065863659 +0200
+++ /var/tmp/diff_new_pack.rWYJKx/_new  2018-04-17 11:19:08.069863472 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   dub
-Version:1.8.0
+Version:1.8.1
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT

++ dub-1.8.0.tar.gz -> dub-1.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.8.0/.travis.yml new/dub-1.8.1/.travis.yml
--- old/dub-1.8.0/.travis.yml   2018-03-02 18:42:46.0 +0100
+++ new/dub-1.8.1/.travis.yml   2018-04-14 18:12:05.0 +0200
@@ -58,7 +58,7 @@
 - d: gdc-4.8.5
   env: [FRONTEND=2.068]
 - stage: deploy
-  d: dmd
+  d: ldc
   os: osx
   script: echo "Deploying to GitHub releases ..." && ./release.sh
   deploy:
@@ -69,9 +69,8 @@
   api_key: $GH_REPO_TOKEN
   on:
 tags: true
-- d: dmd
-  # DMD 32-bit is needed for 32-bit compilation
-  script: echo "Deploying to GitHub releases ..." && DMD=$(find 
$HOME/dlang | grep "dmd-.*/linux/bin32/dmd") ./release.sh
+- d: ldc
+  script: echo "Deploying to GitHub releases ..." && ./release.sh
   env: [ARCH=32]
   addons:
 apt:
@@ -86,7 +85,7 @@
   api_key: $GH_REPO_TOKEN
   on:
 tags: true
-- d: dmd
+- d: ldc
   script: echo "Deploying to GitHub releases ..." && ./release.sh
   deploy:
 - provider: releases
@@ -108,7 +107,8 @@
 stages:
   - name: test
 if: type = pull_request or (type = push and branch = master)
-  - name: deploy
-if: type = push and tag =~ ^v
+  # Until deployment of the release binaries is fixed, always build them
+  #- name: deploy
+#if: type = push and tag =~ ^v
   - name: update-latest
 if: type = push and tag =~ ^v
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.8.0/CHANGELOG.md new/dub-1.8.1/CHANGELOG.md
--- old/dub-1.8.0/CHANGELOG.md  2018-03-02 18:42:46.0 +0100
+++ new/dub-1.8.1/CHANGELOG.md  2018-04-14 18:12:05.0 +0200
@@ -1,6 +1,18 @@
 Changelog
 =
 
+v1.8.1 - 2018-04-14
+---
+
+- Fixed a regression in 1.8.0 that caused linker files specified as 
`sourceFiles` to not get inherited properly - [issue #1408][issue1408], [pull 
#1409][issue1409]
+- Fixed a regression in 1.8.0 that caused `mainSourceFile` to be passed twice 
to the compiler on Windows - [issue #1407][issue1407], [pull #1410][issue1410]
+
+[issue1407]: https://github.com/dlang/dub/issues/1407
+[issue1408]: https://github.com/dlang/dub/issues/1408
+[issue1409]: https://github.com/dlang/dub/issues/1409
+[issue1410]: https://github.com/dlang/dub/issues/1410
+
+
 v1.8.0 - 2018-03-01
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.8.0/appveyor.yml new/dub-1.8.1/appveyor.yml
--- old/dub-1.8.0/appveyor.yml  2018-03-02 18:42:46.0 +0100
+++ new/dub-1.8.1/appveyor.yml  2018-04-14 18:12:05.0 +0200
@@ -36,6 +36,7 @@
 branches:
   only:
 - master
+- stable
 
 install:
   - ps: function ResolveLatestDMD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.8.0/build.sh new/dub-1.8.1/build.sh
--- old/dub-1.8.0/build.sh  2018-03-02 18:42:46.0 +0100
+++ new/dub-1.8.1/build.sh  2018-04-14 18:12:05.0 +0200
@@ -52,8 +52,8 @@
echo Using existing version file.
 fi
 
-# For OSX compatibility >= 10.7
-MACOSX_DEPLOYMENT_TARGET=10.7
+# For OSX compatibility >= 10.8
+MACOSX_DEPLOYMENT_TARGET=10.8
 
 echo Running $DMD...
 $DMD -ofbin/dub -g -O -w -version=DubUseCurl 

commit dub for openSUSE:Factory

2018-04-16 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-04-16 12:49:28

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Mon Apr 16 12:49:28 2018 rev:7 rq:596515 version:1.8.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-03-07 10:36:37.554261967 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-04-16 
12:49:30.319985511 +0200
@@ -1,0 +2,8 @@
+Sat Apr 14 10:02:07 UTC 2018 - matthias.elias...@gmail.com
+
+- Stop with static linking. Should resolve build issues in openSUSE:Factory
+- Remove dependency of git. It is not needed now when we don't use build script
+- Generate dub version file
+- Set defaultlib to libphobos2.so
+
+---



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.HlQvYC/_old  2018-04-16 12:49:30.907964124 +0200
+++ /var/tmp/diff_new_pack.HlQvYC/_new  2018-04-16 12:49:30.907964124 +0200
@@ -22,11 +22,10 @@
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT
 Group:  Development/Languages/Other
-Url:http://code.dlang.org
+URL:http://code.dlang.org
 Source: 
https://github.com/dlang/dub/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  dmd
-BuildRequires:  git
-BuildRequires:  phobos-devel-static
+BuildRequires:  phobos-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libcurl)
 
@@ -45,7 +44,11 @@
 perl -i -pe 's{__DATE__}{""}g' source/dub/commandline.d
 
 %build
-./build.sh
+echo Generating version file...
+echo "module dub.version_;" > source/dub/version_.d
+echo "enum dubVersion = \"%{version}\";" >> source/dub/version_.d
+
+dmd -defaultlib=:libphobos2.so -ofbin/dub -w -O -g -version=DubUseCurl 
-Isource -L-lcurl @build-files.txt
 
 %install
 mkdir -p %{buildroot}%{_bindir}/




commit dub for openSUSE:Factory

2018-03-07 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-03-07 10:36:33

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Wed Mar  7 10:36:33 2018 rev:6 rq:583145 version:1.8.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-02-19 13:03:28.312658879 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-03-07 
10:36:37.554261967 +0100
@@ -1,0 +2,6 @@
+Mon Mar  5 21:15:57 UTC 2018 - matthias.elias...@gmail.com
+
+- Update to version 1.8.0
+  * No changelog was made available.
+
+---

Old:

  dub-1.7.2.tar.gz

New:

  dub-1.8.0.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.gPQ1Z4/_old  2018-03-07 10:36:38.146240614 +0100
+++ /var/tmp/diff_new_pack.gPQ1Z4/_new  2018-03-07 10:36:38.150240470 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   dub
-Version:1.7.2
+Version:1.8.0
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT

++ dub-1.7.2.tar.gz -> dub-1.8.0.tar.gz ++
 2152 lines of diff (skipped)




commit dub for openSUSE:Factory

2018-02-19 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-02-19 13:03:03

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Mon Feb 19 13:03:03 2018 rev:5 rq:577882 version:1.7.2

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-01-26 13:40:27.334615732 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-02-19 
13:03:28.312658879 +0100
@@ -1,0 +2,6 @@
+Sun Feb 18 19:31:47 UTC 2018 - matthias.elias...@gmail.com
+
+- Update to version 1.7.2
+  * more reliable retries and fallback mirror usage - pull (gh#dlang/dub#1339)
+
+---

Old:

  dub-1.7.1.tar.gz

New:

  dub-1.7.2.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.YTdpwp/_old  2018-02-19 13:03:30.604576224 +0100
+++ /var/tmp/diff_new_pack.YTdpwp/_new  2018-02-19 13:03:30.616575791 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   dub
-Version:1.7.1
+Version:1.7.2
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT

++ dub-1.7.1.tar.gz -> dub-1.7.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.7.1/CHANGELOG.md new/dub-1.7.2/CHANGELOG.md
--- old/dub-1.7.1/CHANGELOG.md  2018-01-21 23:30:48.0 +0100
+++ new/dub-1.7.2/CHANGELOG.md  2018-02-07 11:21:12.0 +0100
@@ -1,7 +1,14 @@
 Changelog
 =
 
-v1.7.1 - 2018-01-
+v1.7.2 - 2018-02-07
+---
+
+- more reliable retries and fallback mirror usage - [pull #1339][issue1339]
+
+[issue1339]: https://github.com/dlang/dub/issues/1339
+
+v1.7.1 - 2018-01-21
 ---
 
 - Timeout requests to query mirror instead of hanging - [pull #1338][issue1338]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.7.1/source/dub/commandline.d 
new/dub-1.7.2/source/dub/commandline.d
--- old/dub-1.7.1/source/dub/commandline.d  2018-01-21 23:30:48.0 
+0100
+++ new/dub-1.7.2/source/dub/commandline.d  2018-02-07 11:21:12.0 
+0100
@@ -223,7 +223,20 @@
dub.defaultPlacementLocation = 
options.placementLocation;
} else {
// initialize DUB
-   auto package_suppliers = options.registry_urls.map!(url 
=> cast(PackageSupplier)new RegistryPackageSupplier(URL(url))).array;
+   auto package_suppliers = options.registry_urls
+   .map!((url) {
+   // Allow to specify fallback mirrors as 
space separated urls. Undocumented as we
+   // should simply retry over all 
registries instead of using a special
+   // FallbackPackageSupplier.
+   auto urls = url.splitter(' ');
+   PackageSupplier ps = new 
RegistryPackageSupplier(URL(urls.front));
+   urls.popFront;
+   if (!urls.empty)
+   ps = new 
FallbackPackageSupplier(ps,
+   urls.map!(u => 
cast(PackageSupplier) new RegistryPackageSupplier(URL(u))).array);
+   return ps;
+   })
+   .array;
dub = new Dub(options.root_path, package_suppliers, 
options.skipRegistry);
dub.dryRun = options.annotate;
dub.defaultPlacementLocation = 
options.placementLocation;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.7.1/source/dub/dub.d 
new/dub-1.7.2/source/dub/dub.d
--- old/dub-1.7.1/source/dub/dub.d  2018-01-21 23:30:48.0 +0100
+++ new/dub-1.7.2/source/dub/dub.d  2018-02-07 11:21:12.0 +0100
@@ -757,12 +757,26 @@
return m_packageManager.getPackage(packageId, ver, 
dstpath);
}
 
-   auto path = getTempFile(packageId, ".zip");
-   supplier.fetchPackage(path, packageId, dep, (options & 
FetchOptions.usePrerelease) != 0); // Q: continue on fail?
-   scope(exit) std.file.remove(path.toNativeString());
+   // repeat download on corrupted zips, see #1336
+   foreach_reverse (i; 0..3)
+   {
+   import std.zip : ZipException;
 
-  

commit dub for openSUSE:Factory

2018-01-26 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-01-26 13:40:24

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Fri Jan 26 13:40:24 2018 rev:4 rq:569751 version:1.7.1

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-01-20 11:26:39.928504456 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-01-26 
13:40:27.334615732 +0100
@@ -1,0 +2,7 @@
+Wed Jan 24 21:51:23 UTC 2018 - matthias.elias...@gmail.com
+
+- Update to version 1.7.1
+  * Timeout requests to query mirror instead of hanging - pull 
(gh#dlang/dub#1338)
+- Change to %autosetup rpm macro
+
+---

Old:

  dub-1.7.0.tar.gz

New:

  dub-1.7.1.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.p6fiMB/_old  2018-01-26 13:40:28.454563428 +0100
+++ /var/tmp/diff_new_pack.p6fiMB/_new  2018-01-26 13:40:28.458563241 +0100
@@ -17,12 +17,12 @@
 
 
 Name:   dub
-Version:1.7.0
+Version:1.7.1
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT
 Group:  Development/Languages/Other
-URL:http://code.dlang.org
+Url:http://code.dlang.org
 Source: 
https://github.com/dlang/dub/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  dmd
 BuildRequires:  git
@@ -39,7 +39,7 @@
 (dub's package description) as project file.
 
 %prep
-%setup -q
+%autosetup
 
 # reproducible builds:
 perl -i -pe 's{__DATE__}{""}g' source/dub/commandline.d

++ dub-1.7.0.tar.gz -> dub-1.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.7.0/CHANGELOG.md new/dub-1.7.1/CHANGELOG.md
--- old/dub-1.7.0/CHANGELOG.md  2018-01-02 21:51:29.0 +0100
+++ new/dub-1.7.1/CHANGELOG.md  2018-01-21 23:30:48.0 +0100
@@ -1,6 +1,13 @@
 Changelog
 =
 
+v1.7.1 - 2018-01-
+---
+
+- Timeout requests to query mirror instead of hanging - [pull #1338][issue1338]
+
+[issue1338]: https://github.com/dlang/dub/issues/1338
+
 v1.7.0 - 2018-01-01
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dub-1.7.0/source/dub/internal/utils.d 
new/dub-1.7.1/source/dub/internal/utils.d
--- old/dub-1.7.0/source/dub/internal/utils.d   2018-01-02 21:51:29.0 
+0100
+++ new/dub-1.7.1/source/dub/internal/utils.d   2018-01-21 23:30:48.0 
+0100
@@ -239,12 +239,19 @@
 
Any redirects will be followed until the actual file resource is 
reached or if the redirection
limit of 10 is reached. Note that only HTTP(S) is currently supported.
+
+   The download times out if a connection cannot be established within
+   `timeout` ms, or if the average transfer rate drops below 10 bytes / s 
for
+   more than `timeout` seconds.  Pass `0` as `timeout` to disable both 
timeout
+   mechanisms.
+
+   Note: Timeouts are only implemented when curl is used (DubUseCurl).
 */
-void download(string url, string filename)
+void download(string url, string filename, uint timeout = 8)
 {
version(DubUseCurl) {
auto conn = HTTP();
-   setupHTTPClient(conn);
+   setupHTTPClient(conn, timeout);
logDebug("Storing %s...", url);
static if (__VERSION__ <= 2075)
{
@@ -265,16 +272,16 @@
} else assert(false);
 }
 /// ditto
-void download(URL url, NativePath filename)
+void download(URL url, NativePath filename, uint timeout = 8)
 {
-   download(url.toString(), filename.toNativeString());
+   download(url.toString(), filename.toNativeString(), timeout);
 }
 /// ditto
-ubyte[] download(string url)
+ubyte[] download(string url, uint timeout = 8)
 {
version(DubUseCurl) {
auto conn = HTTP();
-   setupHTTPClient(conn);
+   setupHTTPClient(conn, timeout);
logDebug("Getting %s...", url);
static if (__VERSION__ <= 2075)
{
@@ -298,9 +305,9 @@
} else assert(false);
 }
 /// ditto
-ubyte[] download(URL url)
+ubyte[] download(URL url, uint timeout = 8)
 {
-   return download(url.toString());
+   return download(url.toString(), timeout);
 }
 
 /// Returns the current DUB version in semantic version format
@@ -321,7 +328,7 @@
 }
 
 version(DubUseCurl) {
-   void setupHTTPClient(ref HTTP conn)
+   void setupHTTPClient(ref HTTP conn, uint timeout)
{
static if( is(typeof()) )
   

commit dub for openSUSE:Factory

2018-01-20 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-01-20 11:26:36

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Sat Jan 20 11:26:36 2018 rev:3 rq:564054 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-01-03 13:39:30.371897319 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-01-20 
11:26:39.928504456 +0100
@@ -1,0 +2,7 @@
+Fri Jan  5 19:25:14 UTC 2018 - matthias.elias...@gmail.com
+
+- Update to version 1.7.0
+  * No changelog was made available.
+- Move LICENCE.txt to %license macro in %files section
+
+---

Old:

  dub-1.6.0.tar.gz

New:

  dub-1.7.0.tar.gz



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.Fcolbg/_old  2018-01-20 11:26:40.408482009 +0100
+++ /var/tmp/diff_new_pack.Fcolbg/_new  2018-01-20 11:26:40.412481822 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package dub
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   dub
-Version:1.6.0
+Version:1.7.0
 Release:0
 Summary:Package manager and meta build tool for the D programming 
language
 License:MIT
@@ -52,7 +52,8 @@
 install -D -m 755 bin/%{name} %{buildroot}%{_bindir}/
 
 %files
-%doc CHANGELOG.md LICENSE.txt README.md
+%doc CHANGELOG.md README.md
+%license LICENSE.txt
 %{_bindir}/%{name}
 
 %changelog

++ dub-1.6.0.tar.gz -> dub-1.7.0.tar.gz ++
 4288 lines of diff (skipped)




commit dub for openSUSE:Factory

2018-01-03 Thread root
Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-01-03 13:39:29

Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and  /work/SRC/openSUSE:Factory/.dub.new (New)


Package is "dub"

Wed Jan  3 13:39:29 2018 rev:2 rq:561042 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/dub/dub.changes  2017-11-20 17:07:03.510173287 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-01-03 
13:39:30.371897319 +0100
@@ -1,0 +2,5 @@
+Mon Jan  1 22:41:41 UTC 2018 - matthias.elias...@gmail.com
+
+- Revert to original build script
+
+---



Other differences:
--
++ dub.spec ++
--- /var/tmp/diff_new_pack.iWYvTj/_old  2018-01-03 13:39:30.903720234 +0100
+++ /var/tmp/diff_new_pack.iWYvTj/_new  2018-01-03 13:39:30.903720234 +0100
@@ -45,7 +45,7 @@
 perl -i -pe 's{__DATE__}{""}g' source/dub/commandline.d
 
 %build
-dmd -ofbin/dub -w -O -g -version=DubUseCurl -Isource -L-lcurl @build-files.txt
+./build.sh
 
 %install
 mkdir -p %{buildroot}%{_bindir}/