จะค้นหาได้อย่างไรว่าใครลบ clearCase Trigger

ในทริกเกอร์ Vobs ClearCase บางตัวถูกลบไปแล้ว ไม่เห็นสิ่งใดในบันทึกด้วย มีวิธีค้นหาว่าใครทำสิ่งนี้หรือไม่?


person maestromani    schedule 07.07.2014    source แหล่งที่มา
comment
ขออภัยสำหรับคำตอบที่ล่าช้า: ฉันพลาดคำถาม ClearCase สุดท้ายของคุณไปโดยสิ้นเชิง   -  person VonC    schedule 20.07.2014
comment
ไม่มีปัญหา ขอบคุณมาก...   -  person maestromani    schedule 21.07.2014


คำตอบ (1)


จากวิธีที่ เหตุการณ์ ClearCase ถูกบันทึก

การรัน lshistory บนออบเจ็กต์ VOB จะแสดงเหตุการณ์การลบ
ซึ่งอย่างน้อยจะมีประวัติว่าใครเป็นผู้ลบประเภท และเมื่อใด พร้อมด้วยความคิดเห็นใดๆ ที่ถูกป้อนในการลบ
ไม่มี การจัดเก็บเหตุการณ์เหล่านี้ไว้ในวัตถุ VOB จะไม่มีการบันทึกว่าวัตถุถูกลบออกโดยใครและเมื่อใด

ตัวอย่าง:

The creation event is visible in the history.

% cleartool lshistory -long brtype:NEWBR
15-Oct-03.16:32:41     John Doe (jdoe.clearuser@host1)
 create branch type "NEWBR"

Once removed, the type object's removal event is only visible in the history.

% cleartool rmtype -rmall brtype:NEWBR
Removed branch type "NEWBR".

% cleartool lshistory -long vob:<tag>
15-Oct-03.16:32:41     John Doe (jdoe.clearuser@host1)
 destroy type in versioned object base "<tag>"
 "Destroyed branch type "NEWBR"."

ในกรณีของคุณ ให้มองหาข้อความการลบที่คล้ายกับ:

"Destroyed trigger type "XXX"."

ดูเพิ่มเติมด้วย technote นี้:

ตัวอย่างวินโดวส์:

M:\dynamic_view\test_vob>cleartool lshistory -all | findstr /C:"Destroyed trigger type"
  "Destroyed trigger type "VERSION"."

หมายเหตุ: คำสั่ง findstr ใช้กับตัวเลือก /C ในตัวอย่างนี้
มีเครื่องหมายทวิภาคโดยไม่มีช่องว่างนำหน้า /C ซึ่งบ่งชี้ว่าทุกอย่างในเครื่องหมายคำพูดควรค้นหาเป็นรายการเดียว

ตัวอย่าง UNIX/Linux:

%>cleartool lshistory -all | grep 'Destroyed trigger type'
  "Destroyed trigger type "VERSION"."
person VonC    schedule 20.07.2014