-
Notifications
You must be signed in to change notification settings - Fork 21
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
Sync with starter template #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Now that we are using the new sync tool, I wonder if we should start a channel for discussion on improvements. (We could use a starter-template channel because that doesn't exist either)
Some options I'd like to discuss and propose
- keeping local
plan.yml
files up to date with the starter-template plan.yml- need a way to add or inform local repo
plan.yml
is out of date and should also be updated
- need a way to add or inform local repo
- look in local repo for
plan.yml
instead of required it to be specified in CLI - manage changes that occur in files like package.json
- We should be able to run the sync at any point in time and have it return clean.
- Perhaps a
sync and run
step. Which would sync and prune thepackage.json
with npm (post syncing)
- option to not specify the repo directory and have sync clone a clean copy
- sync-all option which would run on all repos (list kept in starter-template file or config file)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mickmister!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the cleanup 👍
I would love to come up with a universal plan.yml
that we can just C&P to every repo.
@@ -0,0 +1 @@ | |||
{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file really needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my answer here mattermost/mattermost-plugin-github#345 (comment)
create: true | ||
- paths: | ||
- Makefile | ||
- go.mod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in https://github.com/mattermost/mattermost-plugin-github/pull/345/files#r467367661, I don't think this is necessary as go
will handle the file itself.
- paths: | ||
- Makefile | ||
- go.mod | ||
- .gitignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The list of files here and in https://github.com/mattermost/mattermost-plugin-github/pull/345/files#diff-59ad1e74c7021d75cda8d84e151c24c4 differ. Why is there a diff? Should they be the same?
- .circleci/config.yml | ||
- .editorconfig | ||
- webapp/.gitignore | ||
- webapp/src/manifest.test.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit pick: It would help with comparing the list of the items are ordered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I would like to see the latest changes from mattermost/mattermost-plugin-starter-template#86 getting merged in this, the PR is already a great improvement in terms of tooling.
Heads up that there are merge conflicts to resolve.
Codecov Report
@@ Coverage Diff @@
## master #53 +/- ##
==========================================
+ Coverage 26.04% 26.28% +0.23%
==========================================
Files 6 7 +1
Lines 311 312 +1
==========================================
+ Hits 81 82 +1
Misses 213 213
Partials 17 17
Continue to review full report at Codecov.
|
@DHaussermann These are only tooling updates. Maybe they can be tested in release testing of v0.2.1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed @hanzei please merge.
LGTM!
Fixes #52