Coder Social home page Coder Social logo

jhermann / artifactory-debian Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 4.0 395 KB

: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

Makefile 1.45% Shell 31.42% Python 67.14%
artifactory bintray cli-utilities debian debian-packages debian-repositories dput plugin python release-automation webdav

artifactory-debian's People

Contributors

jhermann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

artifactory-debian's Issues

Check out differences between Debian and Ubuntu dput

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

plugin fails with dput v0.12.1 on Debian Stretch

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...

dput-webdav not considering epoch in version string

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 ).

Jenkins Deployment

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.