Skip to content
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

commit against workitem #48

Open
himmakam opened this issue Apr 30, 2018 · 3 comments
Open

commit against workitem #48

himmakam opened this issue Apr 30, 2018 · 3 comments

Comments

@himmakam
Copy link

Hi, I used all the steps and it is successful. One thing I observe is if the rtc changes are promoted agianst a workitem, the git history shows as "No Comment". I expected it to be workitem number and description that the rtc changes are promted to. can someone tell me if this workitem reference is stored in git somewhere. if so where and how can i push the same to git. This is very helpful as everything else works fine. Appreciate your help. Thanks/

The log somewhat looks like this -
[2018-04-30 14:35:25] Migrated [HEAD] [334]/[335] changesets. Accept took 1933ms commit took 69ms
[2018-04-30 14:35:28] Accepting changes:
[2018-04-30 14:35:29] Repository: https://jazzcxxxx.hursley.ibm.com:9443/ccm/
[2018-04-30 14:35:29] Workspace: (6706) "FO2-dst"
[2018-04-30 14:35:29] Component: (5940) "Foundation_Others"
[2018-04-30 14:35:29] Change sets:
[2018-04-30 14:35:29] (6694) ----$ xxxxxx "" 13-Nov-2017 06:14 PM
[2018-04-30 14:35:29] Changes:
[2018-04-30 14:35:29] ---c- /Foundation_Others/RMG_Scripts/FoundationCD.pl
[2018-04-30 14:35:29] Work items:
[2018-04-30 14:35:29] (6691) 550545 "FP image build process has to be enhanced to handle syste..."
[2018-04-30 14:35:29] Accept command completed successfully.
[2018-04-30 14:35:29] DelegateCommand [accept FO2-dst _7v7EcMhnEeemv-_JpSZ3Mg baseline[false]] finished in

@himmakam
Copy link
Author

himmakam commented May 2, 2018

@WtfJoke, can you please let me know if you have any idea on this. I would like to understand where the info related to "Work items" go in git and how can I see this.

I am referring to below -

[2018-04-30 14:35:29] Work items:
[2018-04-30 14:35:29] (6691) 550545 "FP image build process has to be enhanced to handle syste..."

@akoptelov
Copy link
Contributor

akoptelov commented May 2, 2018

@himmakam In RTC it is possible to add comment to a changeset, and this comment is converted to GIT commit message. However, most RTC users tend to skip adding that comment as in RTC views assigned work item summary is displayed.

Last summer I added possibility to include RTC work item text to the commit. I must admit I haven't spent much time documenting that feature, but there's an issue #34 and a fix for it that allows you to use %3s in commit.message.format in migration.properties that would expand to work item summary.

@WtfJoke
Copy link
Member

WtfJoke commented May 2, 2018

Hi himmakam

I dont think work item reference is stored somewhere in git. Its only used to get commit message itself, see here .

And as @akoptelov already stated, a lot of rtc user tend to skip adding a comment on rtc changesets when there is a workitem attached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants