Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.0.0: PRERELEASE VERSIONS #476

Closed
kaelzhang opened this issue Jul 30, 2014 · 2 comments
Closed

6.0.0: PRERELEASE VERSIONS #476

kaelzhang opened this issue Jul 30, 2014 · 2 comments

Comments

@kaelzhang
Copy link

  • provider fallback
  • database sync
  • legacy
  • validation
@kaelzhang
Copy link
Author

Cases

We should check all dependencies is already published within the current environment when publishing an app or unit.

cortex install [--prerelease ppe] # config or env

@kaelzhang kaelzhang changed the title PRERELEASE VERSIONS 6.0.0: PRERELEASE VERSIONS Aug 8, 2014
@kaelzhang
Copy link
Author

1. install from dependencies

could occur in all situations

Case: the latest match is stable

  • dependencies: a: '^1.3.0'
  • prerelease: any!
  • couch: 1.3.2, 1.3.2-beta
    -> install a@1.3.2

Case: something is found

  • dependencies: a: '^1.3.0'
  • prerelease: alpha
  • couch:
    // normal
    • 1.3.2-alpha, 1.3.2-beta -> install a@1.3.0-alpha
      // the stable version is newer
    • 1.3.3, 1.3.2-alpha -> install a@1.3.3
      // the pr version is newer
    • 1.3.3-alpha, 1.3.2 -> install a@1.3.3-alpha

Case 4: the specified pr is not found

  • 1.3.0-alpha 1.3.0-rc
  • dependencies: a: '^1.3.0'
  • prerelease: beta
    cortex install -> not found

2. install --save

Only available in dev

install range

  • found stable -> ignore pr, install found
  • only found prerelease -> refuse install pr, warn, error
  • nothing found -> error

recursive install --save -> install from dependencies

install version

  • in versions: -> install
  • or: error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant