{"id":316,"date":"2013-02-24T21:00:00","date_gmt":"2013-02-24T21:00:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2013\/02\/24\/how-to-list-all-projects-in-a-cvs-repository\/"},"modified":"2013-02-24T21:00:00","modified_gmt":"2013-02-24T21:00:00","slug":"how-to-list-all-projects-in-a-cvs-repository","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2013\/02\/24\/how-to-list-all-projects-in-a-cvs-repository\/","title":{"rendered":"how to list all &#8220;projects&#8221; in a CVS repository"},"content":{"rendered":"<p>\t\t\t\tWe achieve that enquiry using the below recipe.<\/p>\n<p>The (files and) directories below the project root are called <i>projects<\/i>.<\/p>\n<p>Now here is the recipe:<\/p>\n<blockquote><p>\n# First check out (non-recursively, i.e. &#8220;<i>locally<\/i>&#8221; (= &#8220;-l&#8221;))<br \/>\n# the root &#8220;project&#8221; of the repository (i.e. &#8220;.&#8221;)<br \/>\n# to some auxiliary location (e.g.\u00a0<span>Temp<\/span>, CAVEAT: checkout&#8217;s &#8220;-d&#8221; does not take absolute pathnames),<br \/>\n# so we have the necessary metadata in CVS\/:<br \/><span>$ cd ~\/cvswork<br \/>\n$ cvs -d ROOTDIR checkout -l -d Temp .<\/span><\/p>\n<p># Then simulate an &#8220;<i>update with directories only<\/i>&#8221; of that folder:<br \/><span>$\u00a0cd ~\/cvswork\/Temp<br \/>\n$ cvs -n update -d # create directories \/ dry run<\/span><\/p><\/blockquote>\n<p>You may want to get rid of that auxiliary location again; I personally keep <span>~\/cvswork\/Temp<\/span> &#8220;permanently&#8221;, so I can always run the above &#8220;cvs -n update -d&#8221; in there.<\/p>\n<p>It is a simulated update of the repository root.<\/p>\n<p>I got this recipe from <a href=\"http:\/\/stackoverflow.com\/questions\/889378\/how-can-i-list-files-in-cvs-without-an-initial-checkout\/896764#896764\">here<\/a>.\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We achieve that enquiry using the below recipe. The (files and) directories below the project root are called projects. Now here is the recipe: # First check out (non-recursively, i.e. &#8220;locally&#8221; (= &#8220;-l&#8221;)) # the root &#8220;project&#8221; of the repository (i.e. &#8220;.&#8221;) # to some auxiliary location (e.g.\u00a0Temp, CAVEAT: checkout&#8217;s &#8220;-d&#8221; does not take absolute [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-56","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=316"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/316\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}