{"id":1602,"date":"2017-12-05T07:08:31","date_gmt":"2017-12-05T07:08:31","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1602"},"modified":"2025-02-01T22:39:39","modified_gmt":"2025-02-01T22:39:39","slug":"use-of-perforce-spec-depot","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/use-of-perforce-spec-depot\/","title":{"rendered":"Use of Perforce Spec Depot."},"content":{"rendered":"<p><strong>rajeshkumar created the topic: Use of Perforce Spec Depot.<\/strong><br \/>\nUse of Perforce Spec Depot.<\/p>\n<p>There was many questions in my mind such as<br \/>\nIs there any way to find out old access given to perforce user?<br \/>\nIs there any way to find group history?<\/p>\n<p>The solution which i found out is:spec depot<br \/>\nthe solution was hiddent in spec depot<br \/>\nTo check if you have a spec depot, run the command:<br \/>\np4 depots<\/p>\n<p>Look for a depot of type &#8216;spec&#8217;. For example, the following output shows a depot called &#8216;myspec&#8217; of type &#8216;spec&#8217;:<\/p>\n<p>Depot myspec 2011\/12\/22 spec .p4s myspec\/&#8230; &#8216;Created by swood. &#8216;<\/p>\n<p>To restore a spec using the &#8216;p4 print&#8217; command. For example, to restore revision 35 of the protections table you would run the command:<br \/>\np4 print -q \/\/spec\/protect.p4s#35 | p4 protect -i<\/p>\n<p>Further information about using the spec depot can be found in the Knowledge Base article here:<\/p>\n<p><a href=\"http:\/\/kb.perforce.com\/article\/934\/using-the-spec-depot\">kb.perforce.com\/article\/934\/using-the-spec-depot<\/a>Regards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>rajeshkumar created the topic: Use of Perforce Spec Depot. Use of Perforce Spec Depot. There was many questions in my mind such as Is there any way&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[370],"tags":[373],"class_list":["post-1602","post","type-post","status-publish","format-standard","hentry","category-perforce","tag-perforce"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1602"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1602\/revisions"}],"predecessor-version":[{"id":1603,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1602\/revisions\/1603"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}