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

Sync with starter template #53

Merged
merged 2 commits into from
Sep 23, 2020
Merged

Sync with starter template #53

merged 2 commits into from
Sep 23, 2020

Conversation

mickmister
Copy link
Contributor

Fixes #52

@mickmister mickmister added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels Aug 10, 2020
Copy link
Contributor

@jfrerich jfrerich left a 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
  • 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 the package.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)

Copy link
Contributor

@marianunez marianunez left a comment

Choose a reason for hiding this comment

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

Thanks @mickmister!

Copy link
Contributor

@hanzei hanzei left a 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 @@
{}
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

create: true
- paths:
- Makefile
- go.mod
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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.

Copy link
Contributor

@hanzei hanzei left a 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.

@hanzei hanzei removed the 2: Dev Review Requires review by a core committer label Sep 14, 2020
@hanzei hanzei linked an issue Sep 22, 2020 that may be closed by this pull request
@hanzei hanzei mentioned this pull request Sep 22, 2020
4 tasks
@codecov
Copy link

codecov bot commented Sep 22, 2020

Codecov Report

Merging #53 into master will increase coverage by 0.23%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            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              
Impacted Files Coverage Δ
server/manifest.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd0e9dd...561e542. Read the comment docs.

@hanzei hanzei linked an issue Sep 22, 2020 that may be closed by this pull request
@hanzei hanzei added this to the v0.2.1 milestone Sep 22, 2020
@hanzei
Copy link
Contributor

hanzei commented Sep 22, 2020

@DHaussermann These are only tooling updates. Maybe they can be tested in release testing of v0.2.1.

Copy link

@DHaussermann DHaussermann left a 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!

@DHaussermann DHaussermann added 4: Reviews Complete All reviewers have approved the pull request and removed 3: QA Review Requires review by a QA tester labels Sep 23, 2020
@hanzei hanzei merged commit 8ad30fb into master Sep 23, 2020
@hanzei hanzei deleted the sync-starter-template branch September 23, 2020 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request
Projects
None yet
5 participants