[Porting conversation from https://github.com/crowbar/crowbar/pull/1959]
Victor Lowther wrote: > Adam Spiers wrote: > > On a related note, if we all agree that keeping release-specific stuff > > in a non-branched repo is highly confusing, then I hope we can also > > get rid of the current releases/ hierarchy ASAP. I know > > @VictorLowther's been working on this recently, but I don't know what > > his plans for next steps are. > > That depends on whether or not I get feedback from anyone telling me that > the dev tool is broken. So far I have not, and since I have been using git > tracked metadata locally for the last week or so without noticing any > breakages we should be able to switch over to using git tracked metadata > globally soon. I'm not sure how many people from our side would have updated their main repo clone to include this change yet, but if you haven't heard any complaints yet, I'm guessing it's probably fine as far as still working with a releases/ directory. gitify-meta doesn't work for me (see below), but I guess as long as it works for you, that's good enough, because only one person needs to build that repository and push it to github.com/crowbar, right? Personally I'm so keen to see this happen ASAP that I'd gladly accept a few temporary inconveniences due to ./dev breakage during the transition. So you have my blessing at least to err on the risky side, even if noone else's ;-) gitify-meta breakage follows in case it's of use (BTW this was run immediately after an rm -rf .releases) --------- 8< --------- 8< --------- 8< --------- 8< --------- 8< --------- Initialized empty Git repository in /home/adam/SUSE/cloud/crowbar/git/2.0/.releases/.git/ error: pathspec 'master' did not match any file(s) known to git. 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding betty to git release tracking repository error: pathspec 'master' did not match any file(s) known to git. Switched to a new branch 'betty' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding development to git release tracking repository Switched to a new branch 'development' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding elefante to git release tracking repository Switched to a new branch 'elefante' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/hadoop-os-build/change-image' with directory '/home/adam/SUSE/crowbar2/./releases/elefante/hadoop-os-build/change-image' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/hadoop-os-build/extra' with directory '/home/adam/SUSE/crowbar2/./releases/elefante/hadoop-os-build/extra' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/openstack-os-build/change-image' with directory '/home/adam/SUSE/crowbar2/./releases/elefante/openstack-os-build/change-image' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/openstack-os-build/extra' with directory '/home/adam/SUSE/crowbar2/./releases/elefante/openstack-os-build/extra' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding essex-hack to git release tracking repository Switched to a new branch 'essex-hack' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/hadoop-os-build/change-image' with directory '/home/adam/SUSE/crowbar2/./releases/essex-hack/hadoop-os-build/change-image' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/hadoop-os-build/extra' with directory '/home/adam/SUSE/crowbar2/./releases/essex-hack/hadoop-os-build/extra' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding feature/cb20_devguide to git release tracking repository Switched to a new branch 'feature/cb20_devguide' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding feature/folsom to git release tracking repository Switched to a new branch 'feature/folsom' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding feature/grizzly to git release tracking repository Switched to a new branch 'feature/grizzly' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding feature/inbound-data to git release tracking repository Switched to a new branch 'feature/inbound-data' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding feature/pfs-folsom to git release tracking repository Switched to a new branch 'feature/pfs-folsom' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding feature/report-handler to git release tracking repository Switched to a new branch 'feature/report-handler' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding fledermaus to git release tracking repository Switched to a new branch 'fledermaus' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding fred to git release tracking repository Switched to a new branch 'fred' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding hadoop-1.0 to git release tracking repository Switched to a new branch 'hadoop-1.0' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding hadoop-2.1 to git release tracking repository Switched to a new branch 'hadoop-2.1' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding hadoop-2.2 to git release tracking repository Switched to a new branch 'hadoop-2.2' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding hadoop-2.3 to git release tracking repository Switched to a new branch 'hadoop-2.3' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding hadoop-2.4 to git release tracking repository Switched to a new branch 'hadoop-2.4' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding mesa-1.6 to git release tracking repository Switched to a new branch 'mesa-1.6' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding mesa-1.6.1 to git release tracking repository Switched to a new branch 'mesa-1.6.1' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding mesa-1.7 to git release tracking repository Switched to a new branch 'mesa-1.7' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding pebbles to git release tracking repository Switched to a new branch 'pebbles' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding rails3anddb to git release tracking repository Switched to a new branch 'rails3anddb' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/cloudera-build/change-image' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/cloudera-build/change-image' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/cloudera-build/extra' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/cloudera-build/extra' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/cloudera-os-build/change-image' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/cloudera-os-build/change-image' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/cloudera-os-build/extra' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/cloudera-os-build/extra' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/hadoop-build/change-image' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/hadoop-build/change-image' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/hadoop-build/extra' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/hadoop-build/extra' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/hadoop-os-build/change-image' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/hadoop-os-build/change-image' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/hadoop-os-build/extra' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/hadoop-os-build/extra' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/openstack-build/change-image' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/openstack-build/change-image' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/openstack-build/extra' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/openstack-build/extra' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/openstack-os-build/change-image' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/openstack-os-build/change-image' cp: cannot overwrite non-directory '/home/adam/SUSE/crowbar2/./.releases/openstack-os-build/extra' with directory '/home/adam/SUSE/crowbar2/./releases/rails3anddb/openstack-os-build/extra' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding roxy to git release tracking repository Switched to a new branch 'roxy' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding v1.2 to git release tracking repository Switched to a new branch 'v1.2' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding v1.2-openstack to git release tracking repository Switched to a new branch 'v1.2-openstack' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding v1.2-openstack-dell to git release tracking repository Switched to a new branch 'v1.2-openstack-dell' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding v1.2-rc2-openstack to git release tracking repository Switched to a new branch 'v1.2-rc2-openstack' 2013-12-04 21:27:12 +0000: Git not setup. 2013-12-04 21:27:12 +0000: Please run 2013-12-04 21:27:12 +0000: git config --global user.name "your name" 2013-12-04 21:27:12 +0000: git config --global user.email "you@your.domain" Adding v1.3-openstack to git release tracking repository Switched to a new branch 'v1.3-openstack' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v1.3-openstack-dell to git release tracking repository Switched to a new branch 'v1.3-openstack-dell' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v1.4-crowbar to git release tracking repository Switched to a new branch 'v1.4-crowbar' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v1.5-openstack to git release tracking repository Switched to a new branch 'v1.5-openstack' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v1.5-openstack-dell to git release tracking repository Switched to a new branch 'v1.5-openstack-dell' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v1.5.1-openstack to git release tracking repository Switched to a new branch 'v1.5.1-openstack' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v1.5.1-openstack-dell to git release tracking repository Switched to a new branch 'v1.5.1-openstack-dell' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v2.0-hadoop to git release tracking repository Switched to a new branch 'v2.0-hadoop' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v2.0-hadoop-dell to git release tracking repository Switched to a new branch 'v2.0-hadoop-dell' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v2.1-hadoop to git release tracking repository Switched to a new branch 'v2.1-hadoop' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v2.1-hadoop-dell to git release tracking repository Switched to a new branch 'v2.1-hadoop-dell' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v2.1.1-hadoop-dell to git release tracking repository Switched to a new branch 'v2.1.1-hadoop-dell' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v2.2.0-hadoop to git release tracking repository Switched to a new branch 'v2.2.0-hadoop' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Adding v2.2.0-hadoop-dell to git release tracking repository Switched to a new branch 'v2.2.0-hadoop-dell' 2013-12-04 21:27:13 +0000: Git not setup. 2013-12-04 21:27:13 +0000: Please run 2013-12-04 21:27:13 +0000: git config --global user.name "your name" 2013-12-04 21:27:13 +0000: git config --global user.email "you@your.domain" Conversion to git tracked metadata finished. Please run ./dev switch to start using the new git tracked metadata. To remove the flat metadata, perform the following steps: $ git rm -rf releases $ git commit -m "Removing flat metadata in favor of git-tracked release metadata" After doing this, your releases will be tracked using the git repo based metadata. --------- 8< --------- 8< --------- 8< --------- 8< --------- 8< --------- _______________________________________________ Crowbar mailing list Crowbar@dell.com https://lists.us.dell.com/mailman/listinfo/crowbar For more information: http://crowbar.github.com/