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

Fix version numbers #319

Merged
merged 31 commits into from Oct 27, 2017
Merged

Fix version numbers #319

merged 31 commits into from Oct 27, 2017

Conversation

faustinoaq
Copy link
Contributor

Description of the Change

Fix version numbers on shard.yml and updates dependencies

https://shards.rocks/github/amberframework/amber

screenshot_20171021_090104

Alternate Designs

No

Benefits

No

Possible Drawbacks

No

@faustinoaq
Copy link
Contributor Author

@eliasjpr Travis is failing

Maybe github: mosop/cli had been changed on latest version v0.6.10

@veelenga veelenga mentioned this pull request Oct 21, 2017
@faustinoaq
Copy link
Contributor Author

faustinoaq commented Oct 21, 2017

This PR also removes forks and fixes #261 definitely started by @elorest on #291

@faustinoaq
Copy link
Contributor Author

Finally works! :)

@faustinoaq
Copy link
Contributor Author

@drujensen @fridgerator I think this PR is ready, WDYT? 😅

@@ -19,6 +19,8 @@ module Amber::CLI
end

def run
migrations_path, migrations_table_suffix = Micrate::Cli.parse_command_arguments
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this necessary. Looks like we're just passing commands back into Micrate that it gave us in the same scope.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just fixed it to work with latest version of micrate shard see: amberframework/micrate@af301fc

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted these changes, please check this PR again 😄

@@ -20,25 +20,26 @@ module Amber::CLI
end

def run
migrations_path, migrations_table_suffix = Micrate::Cli.parse_command_arguments
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just fixed it to work with latest version of micrate shard see: amberframework/micrate@af301fc

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted these changes, please check this PR again 😄


require "sentry"

module Sentry
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this meant to replace watch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, It's just a helper to avoid using https://github.com/TechMagister/sentry/tree/change_cli

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved this file and rename to more explicit name

@faustinoaq
Copy link
Contributor Author

@elorest This PR is removing fork as shards successfully, Also I reverted micrate changes, (using 0.3.0)

@faustinoaq
Copy link
Contributor Author

Please squash before merge, I did more than 20 commits because I was using github from web 😅

Copy link
Member

@drujensen drujensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work. I tested your branch and everything seems to be working.

@veelenga
Copy link
Contributor

Hey guys, can this be merged/released before crystal 0.24.0 ?

faustinoaq and others added 6 commits October 26, 2017 07:55
because test_app still depends on Amber 0.3.0, which depends on kilt 0.3.3, so there is a dependency resolution problem. That test should be automatically fixed once you bump a version or prepare a new release.
This reverts commit 9b27a5e, reversing
changes made to b8a34f1.
@faustinoaq
Copy link
Contributor Author

faustinoaq commented Oct 27, 2017

For some reason Amber Task merged here 👉 #318 needs a old version of mosop/cli 😅

However, this PR is working now 👍 We can figure out about updating new dependencies on future

I will open a new issue about this 😉

@faustinoaq faustinoaq mentioned this pull request Oct 27, 2017
6 tasks
@eliasjpr eliasjpr merged commit e3a9a9d into amberframework:master Oct 27, 2017
@faustinoaq faustinoaq deleted the fix-version-numbers branch October 27, 2017 12:43
marksiemers pushed a commit to marksiemers/amber that referenced this pull request Oct 28, 2017
* Add dependency badge

* Update dependencies

* Change CMD to CLI

More accurate to Command Line Interface

* Add sentry_command helper

* Use local sentry command

* Use local sentry command

* Remove sentry fork

* Add sentry dependency

* Remove icr fork and use original repo

* Update dependencies

* Fix watch option

* Add support for new options in Micrate::Cli

* Fix wrong number of arguments for run_dbversion

* Fix arguments for report_unordered_migrations

* Fix & update ICR version

* Update Micrate::Cli arguments

* Fix micrate version

* Remove parameter changes

* Remove parameter changes

* Moving file

* Create sentry command helper

* Fix require

* Fix require

* Update Kilt

* Return old version

because test_app still depends on Amber 0.3.0, which depends on kilt 0.3.3, so there is a dependency resolution problem. That test should be automatically fixed once you bump a version or prepare a new release.

* Revert "Merge branch 'master' into fix-version-numbers"

This reverts commit 9b27a5e, reversing
changes made to b8a34f1.

* Revert "Revert "Merge branch 'master' into fix-version-numbers""

This reverts commit 2bef546.

* Return old version of mosop/cli
elorest pushed a commit that referenced this pull request Nov 17, 2017
* Add dependency badge

* Update dependencies

* Change CMD to CLI

More accurate to Command Line Interface

* Add sentry_command helper

* Use local sentry command

* Use local sentry command

* Remove sentry fork

* Add sentry dependency

* Remove icr fork and use original repo

* Update dependencies

* Fix watch option

* Add support for new options in Micrate::Cli

* Fix wrong number of arguments for run_dbversion

* Fix arguments for report_unordered_migrations

* Fix & update ICR version

* Update Micrate::Cli arguments

* Fix micrate version

* Remove parameter changes

* Remove parameter changes

* Moving file

* Create sentry command helper

* Fix require

* Fix require

* Update Kilt

* Return old version

because test_app still depends on Amber 0.3.0, which depends on kilt 0.3.3, so there is a dependency resolution problem. That test should be automatically fixed once you bump a version or prepare a new release.

* Revert "Merge branch 'master' into fix-version-numbers"

This reverts commit 9b27a5e, reversing
changes made to b8a34f1.

* Revert "Revert "Merge branch 'master' into fix-version-numbers""

This reverts commit 2bef546.

* Return old version of mosop/cli
elorest pushed a commit that referenced this pull request Nov 17, 2017
* Add dependency badge

* Update dependencies

* Change CMD to CLI

More accurate to Command Line Interface

* Add sentry_command helper

* Use local sentry command

* Use local sentry command

* Remove sentry fork

* Add sentry dependency

* Remove icr fork and use original repo

* Update dependencies

* Fix watch option

* Add support for new options in Micrate::Cli

* Fix wrong number of arguments for run_dbversion

* Fix arguments for report_unordered_migrations

* Fix & update ICR version

* Update Micrate::Cli arguments

* Fix micrate version

* Remove parameter changes

* Remove parameter changes

* Moving file

* Create sentry command helper

* Fix require

* Fix require

* Update Kilt

* Return old version

because test_app still depends on Amber 0.3.0, which depends on kilt 0.3.3, so there is a dependency resolution problem. That test should be automatically fixed once you bump a version or prepare a new release.

* Revert "Merge branch 'master' into fix-version-numbers"

This reverts commit 943e0d1 [formerly 9b27a5e], reversing
changes made to 1572211 [formerly b8a34f1].

* Revert "Revert "Merge branch 'master' into fix-version-numbers""

This reverts commit 5ce6ebc [formerly 2bef546].

* Return old version of mosop/cli


Former-commit-id: 9f605f8
@faustinoaq faustinoaq added this to Done in Framework 2018 May 5, 2018
@faustinoaq faustinoaq removed this from Done in Framework 2018 Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants