-
-
Notifications
You must be signed in to change notification settings - Fork 98
[JEP-202] Add more detail #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
about the reasoning and implementation Address comments in jenkinsci#96
|
|
||
| We opted for the first, simpler option. | ||
|
|
||
| == Backwards Compatibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eek, GitHub diff is getting confused, may trigger merge conflicts with #98 but OK
jep/202/README.adoc
Outdated
| Currently this is a environment variable but could be a system property or a config section in the UI. | ||
|
|
||
| However: | ||
| This means that different runs can not store the artifacts in different buckets or paths, as we don't expect that to be a common use case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cannot
jep/202/README.adoc
Outdated
| Having access to the blob store would mean access to other jobs artifacts. | ||
|
|
||
| Agents only do URL based upload/download operations and get the correct url to do so from the master. | ||
| Extra care needs to be taken so agents do not have any access to the blob store. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can delete this sentence now? Or shift to the next paragraph?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
|
||
| http://javadoc.jenkins.io/hudson/FilePath.html[`FilePath`] | ||
|
|
||
| * `copyFromRemotely(URL)` Copies the content of a URL to a remote file without transferring content over a Remoting channel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doRemoteCopy might be a clearer name? BTW. I'm aware it's a change upstream, but as @jglick vented "it's still in Beta after all" :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My main issue is that that would not obviously be a drop-in replacement for copyFrom(URL), as this is.
|
|
||
|
|
||
| This change adds more methods to the VirtualFile API to support this flow. | ||
| This change adds more methods to the http://javadoc.jenkins.io/jenkins/util/VirtualFile.html[`VirtualFile`] API to support this flow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oleg-nenashev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just minor comments
|
|
||
|
|
||
| This change adds more methods to the VirtualFile API to support this flow. | ||
| This change adds more methods to the http://javadoc.jenkins.io/jenkins/util/VirtualFile.html[`VirtualFile`] API to support this flow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently Javadoc site does not list the methods. Maybe makes sense to add return type and throws to have a full method signature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the javadoc is now updated
jep/202/README.adoc
Outdated
| Having access to the blob store would mean access to other jobs artifacts. | ||
|
|
||
| Agents only do URL based upload/download operations and get the correct url to do so from the master. | ||
| Extra care needs to be taken so agents do not have any access to the blob store. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
@carlossg do you plan to address the comments? |
about the reasoning and implementation
Address comments in #96