Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

URL for head version of file

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

0 votes



5 answers

Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
It would make allow what you tried:
->
It would make sense to allow what you tried:

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 19 '08, 3:47 p.m.

Question was seen: 4,553 times

Last updated: Feb 19 '08, 3:47 p.m.

Confirmation Cancel Confirm