Skip to content

build: add nodejs/node update authors integration#13943

Merged
fzn0x merged 43 commits intomainfrom
fetch-authors
Feb 22, 2022
Merged

build: add nodejs/node update authors integration#13943
fzn0x merged 43 commits intomainfrom
fetch-authors

Conversation

@fzn0x
Copy link
Copy Markdown
Member

@fzn0x fzn0x commented Jan 12, 2022

Add update authors script according to our latest license changes.

@fzn0x fzn0x added the type: other DEPRECATED: replace with the "meta" issue type label Jan 12, 2022
@fzn0x fzn0x requested a review from sdepold January 12, 2022 16:42
Copy link
Copy Markdown
Member

@WikiRik WikiRik left a comment

Choose a reason for hiding this comment

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

Comment thread .github/update-authors.js Outdated
@ephys
Copy link
Copy Markdown
Member

ephys commented Jan 12, 2022

Could you add this file to the list of linted files in the eslint config?

@ephys ephys changed the title feat: add node update authors script build: add node update authors script Jan 12, 2022
@fzn0x
Copy link
Copy Markdown
Member Author

fzn0x commented Jan 12, 2022

Could you add this file to the list of linted files in the eslint config?

Yup will add it on the weekend

@fzn0x
Copy link
Copy Markdown
Member Author

fzn0x commented Jan 13, 2022

Could you add this file to the list of linted files in the eslint config?

Could you add this file to the list of linted files in the eslint config?

Can you elaborate where the line I must add this? because i see there is line with files: ['**/*.js'],

@fzn0x fzn0x changed the title build: add node update authors script build: add nodejs/node update authors integration Jan 13, 2022
@sdepold sdepold requested a review from ephys January 13, 2022 07:42
Copy link
Copy Markdown
Member

@ephys ephys left a comment

Choose a reason for hiding this comment

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

Could you add this file to the list of linted files in the eslint config?

Turns out eslint ignores dotfolders by default.
If we want to lint .github, we can replace ignorePatterns with this (in .eslintrc):

  ignorePatterns: [
    'dist/**/*',
    'types/**/*',
    'dev/**/*',
    '!.github',
  ],

However I think we should consider everything in .github to be reserved to github (as in they dictate what can be in it) and move the script to /dev/update-authors.js. Then change ignorePatterns to this:

  ignorePatterns: [
    'dist/**/*',
    'types/**/*',
    'dev/**/*', // dev was temporarily ignored to ease transition to new linter
    '!dev/update-authors.js',
  ],

Also I see markdown files have all been changed. Can you revert these changes for now? So we can discuss them in a separate PR

@fzn0x
Copy link
Copy Markdown
Member Author

fzn0x commented Jan 15, 2022

Could you add this file to the list of linted files in the eslint config?

Turns out eslint ignores dotfolders by default. If we want to lint .github, we can replace ignorePatterns with this (in .eslintrc):

  ignorePatterns: [
    'dist/**/*',
    'types/**/*',
    'dev/**/*',
    '!.github',
  ],

However I think we should consider everything in .github to be reserved to github (as in they dictate what can be in it) and move the script to /dev/update-authors.js. Then change ignorePatterns to this:

  ignorePatterns: [
    'dist/**/*',
    'types/**/*',
    'dev/**/*', // dev was temporarily ignored to ease transition to new linter
    '!dev/update-authors.js',
  ],

Also I see markdown files have all been changed. Can you revert these changes for now? So we can discuss them in a separate PR

Done, need your review

@fzn0x
Copy link
Copy Markdown
Member Author

fzn0x commented Jan 15, 2022

Oops the lint worked and there's some errors i need to fix!

Comment thread dev/update-authors.js
@WikiRik
Copy link
Copy Markdown
Member

WikiRik commented Feb 20, 2022

@ephys you requested some changes last month, are they still valid or have they been handled now?

@ephys
Copy link
Copy Markdown
Member

ephys commented Feb 21, 2022

No I think we're good to go
I assume it won't try to open a PR if there are no new changes :)

@fzn0x
Copy link
Copy Markdown
Member Author

fzn0x commented Feb 22, 2022

I think @sdepold should approve this PR too after looks up to his review, maybe we can create another related PR if I missing something, I will merge this :)

@fzn0x fzn0x merged commit ebca506 into main Feb 22, 2022
@fzn0x fzn0x deleted the fetch-authors branch February 22, 2022 10:09
Comment thread AUTHORS
corpix <me@corpix.ru>
Mark Kornfilt <mark.kornfilt@livestream.com>
Laurent Zuijdwijk <Laurent.Zuijdwijk@gamil.com>
Meg Sharkey <meg@metamarketsgroup.com>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Gosh. You know how old I've been when I worked with Meg?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@megshark nostalgic 👋 from me

Same to @mickhansen and @janmeier

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@sdepold I'm almost in tears seeing what progress you've start so far, thank you for your hard work!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, good times, good times! I miss it 👋

@sdepold
Copy link
Copy Markdown
Member

sdepold commented Feb 22, 2022

Love it. Kudos to the peeps!

@megshark
Copy link
Copy Markdown

megshark commented Feb 22, 2022 via email

@WikiRik
Copy link
Copy Markdown
Member

WikiRik commented Feb 22, 2022

@megshark The email addresses are based on the ones provided with the merged commits, but maybe @bl0cknumber can look into the option to change email addresses. You would however need to post your updated email in a comment through the GitHub website since GitHub redacts email addresses sent over email replies.

@megshark
Copy link
Copy Markdown

megshark commented Feb 23, 2022 via email

@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 7.0.0-alpha.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

@WikiRik
Copy link
Copy Markdown
Member

WikiRik commented Mar 27, 2022

@fzn0x I just saw the failed runs for this, can you check it out? Seems to be a permission issue

@fzn0x
Copy link
Copy Markdown
Member Author

fzn0x commented Apr 4, 2022

@fzn0x I just saw the failed runs for this, can you check it out? Seems to be a permission issue

Let me see if I can fix it

@WikiRik
Copy link
Copy Markdown
Member

WikiRik commented Apr 4, 2022

Should just be chmod +x dev/update-authors.js and re-committing the file

@WikiRik WikiRik mentioned this pull request Apr 5, 2022
6 tasks
vanthome pushed a commit to vanthome/sequelize that referenced this pull request Jun 12, 2022
* build: remove probot-stale (sequelize#13595)

* feat: add node update authors script

* build: add authors.yml

* build: add authors.yml

* fix: filter bots from author using regex

* meta: not related! revert docs

* meta: not related! fix weird lint in my local

* revert

* build: move node update authors script

* add missing docs based on commit 36ad644

* fix: lint

* Update dev/update-authors.js

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>

* Update dev/update-authors.js

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>

* build(authors): use automatic token authentication

* fix: eslint

* fix eslint quotes

* ignore dev/update-authors

* fix: curly and quotes

* build(authors): update author

* Update AUTHORS

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>

* Change to permalink

* meta: update AUTHORS list

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
Co-authored-by: Zoé <zoe@ephys.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released on @v7 type: other DEPRECATED: replace with the "meta" issue type

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants