jhermann / artifactory-debian Goto Github PK
View Code? Open in Web Editor NEW:wrench: :package: Tools to use Artifactory as a Debian (APT) repository, and dput DEB packages into it, or upload them to Bintray.
License: Apache License 2.0
:wrench: :package: Tools to use Artifactory as a Debian (APT) repository, and dput DEB packages into it, or upload them to Bintray.
License: Apache License 2.0
Debian 7.1 vs. Ubuntu 12.04.3:
--- dput.wheezy 2013-09-13 11:10:06.258258279 +0200
+++ /usr/bin/dput 2011-05-06 14:51:40.000000000 +0200
@@ -262,3 +262,3 @@
if debian_version == '0.1' or debian_version == '1' \
- or debian_version == '1.1':
+ or debian_version == '1.1' or debian_version == '0ubuntu1':
include_orig = 1
@@ -708,2 +708,13 @@
else:
+ if ':' in args[0]:
+ args[0], hostArgument = args[0].split(":", 1)
+ else:
+ hostArgument = ""
+
+ if config.has_section(args[0]):
+ config.set(args[0], args[0], hostArgument)
+ else:
+ # Let the code below handle this as it is sometimes okay (ie. -o)
+ pass
+
if not check_only:
@@ -738,4 +749,7 @@
package_to_upload = args[1:]
- elif not config.has_section(args[0]):
+ elif len(args) > 1:
print "D: No host %s found in config" % args[0]
+ package_to_upload = args[1:]
+ else:
+ print "D: No host specified."
package_to_upload = args[0:]
@@ -768,2 +782,6 @@
+ if not config.has_section(host):
+ print "E: No host %s found in config" % host
+ sys.exit(1)
+
# Check if we already did this upload or not
Does it work with the latest version of Artifactory (6.5.x) ?
โฆ as already outlined in the ReadMe.
This plugin fails with dput v0.12.1.
Seems the install path now shall be /usr/share/dput/dput/methods/webdav.py
but besides changing this path and the helper import some more errors are popping up...
The dput-webdav module supports variable substitution in the "incoming" adress. Among others, the variable "{upstream}" can be replaced.
When trying to upload a package whose version string contains an epoch (e.g. "2:1.2.3-4+deb8.1"), dput-webdav doesn't consider this (Debian-specific) epoch when replacing {upstream} in the incoming variable. So when building a Debian package version "2:1.2.3-4+deb8.1" of software version 1.2.3, it is expected that {upstream} is replaced by "1.2.3". Instead, it is replaced by "2:1.2.3". By definition of upstream this is wrong, as the upstream version is the version of the source used to build the debian package (see Debian Policy Manual ).
netrc โ user configuration for ftp (see "man 5 netrc")
Hi, great project!
Just curious how one would deploy using Jenkins. I note in your diagram a HTTP PUT (curl)
call. How would this work exactly, via a script? Is it not possible using the Artifactory plugin?
Check out how we can enable GAVC search for Debian repos, and whether the current repo layout actually makes sense or needs fixing.
When there's a changes file, it results in:
D: webdav: Checking URL '...changes'
webdav: FATAL: Overwriting existing changes at '...changes' not allowed: HTTP Error 401: Unauthorized
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.