Thankyou Sean. Thanks, Nitish
On Sun, 5 Apr 2020, 18:27 Sean Liao, <seankhl...@gmail.com> wrote: > yes > > go1.12 and earlier used v0.0.0-x... for all cases > go1.13 and later uses different formats depending on the situation > > the change was mentioned in the release notes > https://golang.org/doc/go1.13#version-validation > and the current formats and when they are used are in the help pages > https://golang.org/cmd/go/#hdr-Pseudo_versions > > On Sun, Apr 5, 2020 at 2:49 PM Nitish Saboo <nitish.sabo...@gmail.com> > wrote: > > > > Hi Sean, > > > > Thank you for your response. > > I hope you meant 'yes' for both the questions that I had posted....am I > right? > > > > Thanks, > > Nitish > > > > > > On Sat, Apr 4, 2020 at 8:39 PM Sean Liao <seankhl...@gmail.com> wrote: > >> > >> yes > >> > >> On Sat, Apr 4, 2020, 17:07 Nitish Saboo <nitish.sabo...@gmail.com> > wrote: > >>> > >>> Hi Sean, > >>> > >>> Thank you for your response. > >>> The pseudo version that I am getting in go-1.13 is 'v1.8.3-0' and if > you see there is a "-0" in the pseudo version. > >>> Whereas, > >>> The pseudo version that I am getting in go-1.12 is 'v0.0.0' . > >>> > >>> 1)We get such outputs only when the dependency version that is being > used in go.mod is not tagged ...am I correct? > >>> > >>> > (This was originally the only form, so some older go.mod files use > this form even for commits that do follow tags.) > >>> > >>> older refers to vgo, go1.11, go1.12 > >>> > >>> 2)Are you saying I am getting the expected output for both the > versions and pseudo format changed from go1.13 onwards? > >>> > >>> Thanks, > >>> Nitish > >>> > >>> > >>> On Fri, Apr 3, 2020 at 11:34 PM Sean Liao <seankhl...@gmail.com> > wrote: > >>>> > >>>> > (This was originally the only form, so some older go.mod files use > this form even for commits that do follow tags.) > >>>> > >>>> older refers to vgo, go1.11, go1.12 > >>>> > >>>> On Wednesday, April 1, 2020 at 2:07:19 PM UTC+2, Nitish Saboo wrote: > >>>>> > >>>>> Hi, > >>>>> > >>>>> I created go.mod file from two different go versions 1.12 and 1.13: > >>>>> > >>>>> module /home/nsaboo/project > >>>>> > >>>>> go 1.13 > >>>>> > >>>>> require ( > >>>>> github.com/aws/aws-sdk-go v1.8.3-0.20170325041625-2150862edc16 > <<<<<<<<<<<< > >>>>> github.com/go-ini/ini v1.55.0 // indirect > >>>>> github.com/jmespath/go-jmespath v0.3.0 // indirect > >>>>> github.com/smartystreets/goconvey v1.6.4 // indirect > >>>>> github.com/xeipuuv/gojsonpointer v0.0.0-20150102060019-636edb2500d2 > // indirect > >>>>> github.com/xeipuuv/gojsonreference > v0.0.0-20150102055932-2df3c0c80243 // indirect > >>>>> github.com/xeipuuv/gojsonschema v0.0.0-20150523020227-6ea07b2b0148 > // indirect > >>>>> gopkg.in/ini.v1 v1.55.0 // indirect > >>>>> ) > >>>>> > >>>>> > >>>>> module /home/nsaboo/project > >>>>> > >>>>> go 1.12 > >>>>> > >>>>> require ( > >>>>> github.com/aws/aws-sdk-go v0.0.0-20170325041625-2150862edc16 > <<<<<<<<<<<<<< > >>>>> github.com/go-ini/ini v1.55.0 // indirect > >>>>> github.com/jmespath/go-jmespath v0.3.0 // indirect > >>>>> github.com/smartystreets/goconvey v1.6.4 // indirect > >>>>> github.com/xeipuuv/gojsonpointer v0.0.0-20150102060019-636edb2500d2 > // indirect > >>>>> github.com/xeipuuv/gojsonreference > v0.0.0-20150102055932-2df3c0c80243 // indirect > >>>>> github.com/xeipuuv/gojsonschema v0.0.0-20150523020227-6ea07b2b0148 > // indirect > >>>>> gopkg.in/ini.v1 v1.55.0 // indirect > >>>>> ) > >>>>> > >>>>> What I see for aws/aws-sdk-go dependency is, In the case of go1.13 > the pseudo-version is showing v1.8.3-0 whereas in the case of go1.12 the > pseudo-version is showing v0.0.0 though the commitid hash and timestamp is > the same in both the cases. > >>>>> > >>>>> 1) Is this expected behavior? > >>>>> > >>>>> 2) Has the pseudo version format/logic changed from go1.12 to go1.13? > >>>>> > >>>>> Thanks, > >>>>> Nitish > >>>> > >>>> -- > >>>> You received this message because you are subscribed to the Google > Groups "golang-nuts" group. > >>>> To unsubscribe from this group and stop receiving emails from it, > send an email to golang-nuts+unsubscr...@googlegroups.com. > >>>> To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/c51be812-a28c-4888-a031-4405b1c6387d%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CALjMrq5_q5Q_e1X4MqdtTVjUCoOLLFgM3Z71UMZAFCUM9wptfw%40mail.gmail.com.