You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Fetching the last N versions of a resource #236
We're building a pipeline that needs to consume the 3 most recent versions of a resource. We were originally thinking that the "version" maintained by concourse internally would simply be a list of versions that the resource itself captures. Something like this:
git
concourse version
a
[ a ]
b
[a, b]
c
[a, b, c]
d
[b, c, d]
But perhaps a better way to do this is to simply request the last N versions from concourse itself. It would be great if we could write the following in our build plan:
- get: myResourcenum_versions: 3
with num_versions defaulting to 1.
Maybe people would prefer this:
- get: myResourceadditional_versions: 2
Another thing to consider is allowing the build plan choose a specific version relative to the most recent one. For example, getting the _second_ most recent version might look something like this:
- get: myResourceversions_back: [ 1 ]
with versions_back defaulting to [ 0 ]. This would be useful if a resource version is yanked. There is something appealing about this solution, because it solves the first problem as well (you could specify versions_back: [0, 1, 2] to get the three most recent versions).
Anyway, we don't have a strong preference for naming, but these features, especially the first part (getting multiple versions) would be very helpful. Any thoughts?
We're automatically closing this issue since the original poster (or another commenter) hasn't been active in the past six months. We therefore assume that this issue has been lost or resolved on its own. Close issues that remain inactive for a long period may get automatically locked.
Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
Hey there! I've moved on from the team that needed this in the first place, so I don't myself need the feature. Still, it seems like a reasonable feature request, so it would be nice for the issue to be re-opened, or to get a definitive "Will not implement" from the Concourse team.
Activity
concourse-bot commentedon Dec 17, 2015
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
jama22 commentedon Jul 25, 2017
Hey there!
We're automatically closing this issue since the original poster (or another commenter) hasn't been active in the past six months. We therefore assume that this issue has been lost or resolved on its own. Close issues that remain inactive for a long period may get automatically locked.
Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
dsabeti commentedon Jul 25, 2017
Hey there! I've moved on from the team that needed this in the first place, so I don't myself need the feature. Still, it seems like a reasonable feature request, so it would be nice for the issue to be re-opened, or to get a definitive "Will not implement" from the Concourse team.
Thanks!
bump atc fly tsa
fly: [concourse#236] add timestamp to build logs to support watch com…
fly: [concourse#236](https://github.com/concourse/fly/issues/236) add…