How do I provide a default [org] value in a custom layout?
Can I somehow specify a default value in a custom layout using some
undocumented magic?
Can I patch things up using a custom groovy plugin (say in "beforeCreate")?
Can I drop down into Java and fix it there? If so can you point me in the
right direction? I was hoping not to have to get my head that deep into the
Artifactory implementation details, but maybe that is what is required.
=========================================
Background:
I am trying to use a custom python layout within an eval of Artifactory
Pro. The layout I am using corresponds to a "simple" python layout. As an
example a typical URI would be modulename/modulename-1.2.3.tar.gz
As you can see there is nothing that lines up with [org] or [orgPath].
Unfortunately, this is messing up Module ID. This has not been a problem
for publishing via an artifact via webdav or REST API. Similarly, consuming
an artifact using Python's "pip" tool or the "distribute" library works
fine once all the various poorly documented configuration files are set up
correctly.
The problem is I'm working towards getting build-info, build promotion and
the like working. This will require Artifactory has a way to figure out the
module ID. Even if I publish via the REST API and include a ModuleID
(haven't tested the later), that doesn't do much good for externally
derived artifacts. If I could simply somehow provide a default org value
(say "pythonmodule") that would likely solve the problem.
A layout solution that worked with the open-source version would be nice
when I turn around and publish all the python tooling tweaks I have done to
work with Artifactory. I will surely need some of the promotion related
functionality that only the pro version provides, but many may be able to
live without promotion features.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users