Development version that loads master from GitHub

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Development version that loads master from GitHub

Sean DeNigris
I want the following to be the symbolic #development spec in my ConfigurationOf:
    spec
        for: #common do: [
            spec
                baseline: 'BabyPhexample'
                with: [ spec repository: 'github://seandenigris/Baby-Phexample/repository' ] ]

I tried to put this in a `<version: 'master'>`, but Metacello complained about it not being semantic, so I put a version 0.0.0 hack in to get it to work:
  development: spec
    <symbolicVersion: #development>
    spec for: #common version: '0.0.0'

What is the correct way to do this?
Thanks.

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Development version that loads master from GitHub

Dale Henrichs-3
Sean,

If you add the following method to your ConfigurationOf you will not be constrained to semantic version numbers:

versionNumberClass
  ^ MetacelloVersionNumber

Then you can use any old version number that you desire...

Dale

On 3/30/16 6:08 AM, Sean DeNigris wrote:
I want the following to be the symbolic #development spec in my ConfigurationOf:
    spec
        for: #common do: [
            spec
                baseline: 'BabyPhexample'
                with: [ spec repository: 'github://seandenigris/Baby-Phexample/repository' ] ]

I tried to put this in a `<version: 'master'>`, but Metacello complained about it not being semantic, so I put a version 0.0.0 hack in to get it to work:
  development: spec
    <symbolicVersion: #development>
    spec for: #common version: '0.0.0'

What is the correct way to do this?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Development version that loads master from GitHub

Sean P. DeNigris
Administrator
Dale Henrichs-3 wrote
you will not be constrained to semantic version numbers:
I actually like the semantic versioning support in general! It's just this one case i.e. (a symbolic development version which tracks baseline) where it doesn't seem to fit. Although, I guess maybe it's not really needed at all because people can just do this via the scripting API...
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Development version that loads master from GitHub

Sean DeNigris
In reply to this post by Dale Henrichs-3

you will not be constrained to semantic version numbers:

I actually like the semantic versioning support in general! It's just this
one case i.e. (a symbolic development version which tracks baseline) where
it doesn't seem to fit. Although, I guess maybe it's not really needed at

all because people can just do this via the scripting API!

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.