It's all about the answers!

Ask a question

URL for head version of file


Steve Speicher (31765) | asked Feb 19 '08, 3:47 p.m.
JAZZ DEVELOPER
I'm using beta 2 and looking at Jazz Web SCM, I can get a URL for a selected resource but if a new revision is created, the URL points to a specific version.

I see in the URL that only difference is in the stateId param, omitting it didn't work.

I got this URL by selecting the file in the Web UI and then selecting "Raw Content".

Thanks in advance

5 answers



permanent link
Aaron Cohen (8207851) | answered Feb 20 '08, 4:08 p.m.
JAZZ DEVELOPER
Steve,

I am not aware of any. If you find that this feature does not
exist. please create an enhancement for it since it is a great idea.

sspeiche wrote:
I'm using beta 2 and looking at Jazz Web SCM, I can get a URL for a
selected resource but if a new revision is created, the URL points to
a specific version.

I see in the URL that only difference is in the stateId param,
omitting it didn't work.

I got this URL by selecting the file in the Web UI and then selecting
"Raw Content".

Thanks in advance

permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 20 '08, 6:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
What did you have in mind as the "latest" version? Since there will in
general be many streams of development for a give versionable, the
latest version by creation/modification-date is probably not very
interesting/useful.

Cheers,
Geoff (ClearCase Connector team)

sspeiche wrote:
I'm using beta 2 and looking at Jazz Web SCM, I can get a URL for a
selected resource but if a new revision is created, the URL points to
a specific version.

I see in the URL that only difference is in the stateId param,
omitting it didn't work.

I got this URL by selecting the file in the Web UI and then selecting
"Raw Content".

Thanks in advance

permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 20 '08, 11:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Actually, let me guess ... you'd like a URL for the "current" version in
a given stream/workspace? (I agree that would be useful/desireable).

Cheers,
Geoff


Geoffrey Clemm wrote:
What did you have in mind as the "latest" version? Since there will in
general be many streams of development for a give versionable, the
latest version by creation/modification-date is probably not very
interesting/useful.

Cheers,
Geoff (ClearCase Connector team)

sspeiche wrote:
I'm using beta 2 and looking at Jazz Web SCM, I can get a URL for a
selected resource but if a new revision is created, the URL points to
a specific version.

I see in the URL that only difference is in the stateId param,
omitting it didn't work.

I got this URL by selecting the file in the Web UI and then selecting
"Raw Content".

Thanks in advance

permanent link
Nick Edgar (6.5k711) | answered Feb 21 '08, 10:17 a.m.
JAZZ DEVELOPER
You can bookmark the SCM web UI page for the current revision of a file, from which you can then get the content via the "Raw Content" link (changed in M5 to "Download").

There's currently no URL for the current content of a file.
It would make allow what you tried: take the download link and remove the stateId param.
I've opened up a feature request for this:
https://jazz.net/jazz/resource/itemName/WorkItem/45115

permanent link
Nick Edgar (6.5k711) | answered Feb 21 '08, 10:18 a.m.
JAZZ DEVELOPER
It would make allow what you tried:
->
It would make sense to allow what you tried:

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.