I am working with napa branch and want to build vyatta-op-vpn package from source. It is quite important that I pick up the version get released in VC6.3-2011.10.04 of build-iso.git, not the HEAD version of vyatta-op-vpn. First I ran "git submodule status" and jotted down the hash of vyatta-op-vpn. Then I ran the commands "git submodule init" followed by
"git submodule update pkgs/vyatta-op-vpn". The last command gave me the version "2a4f9d3...". The hash agreed with "submodule status". However git log told me "2a4f9d3..." was submitted last year! I cd back to my build-iso folder and double check my branch is indeed napa.
Back to pkgs/vyatta-op-vpn folder and switch from (no branch) to napa. The HEAD was submitted 2011 Aug 23. That's newer than the HEAD of build-iso.git, so I guess I don't want that one either.
Q1. I thought the supermodule stores the commit hashes of the submodules so that people can pull down the correct version. Did I miss a step somewhere? Or could it be Vyatta forget to update the supermodule?
Q2. I remember seeing checkout based on date. How can I tell "git checkout" to go a point just before "2011 Jul 9 09:43:40"? That's the commit time of HEAD of build-iso.git.