Commit graph

74 commits

Author SHA1 Message Date
Reto Brunner
515f894c13 changelog: don't break if author is nil
The author field can somehow be null for whatever reason...
Guard the script against blowing up
2024-04-01 15:15:50 +02:00
Reto Brunner
393d0a63b7 Remove husky, add githooks-install
Fixes: https://github.com/thelounge/thelounge/issues/4452
2024-01-27 16:59:46 +01:00
Zach Bloomquist
6603c1a6e6
scripts: fix generate-config-doc, handle usage errors 2023-12-12 11:52:45 -05:00
Reto Brunner
1a1153aed6 use shebang for generate-emoji script 2023-07-15 10:40:44 +02:00
Reto Brunner
0f3487c533 Inline logger into changelog script
We can't really import easily from our build without it being
brittle. TL isn't meant to be used as a library.

Instead, just inline the logger as it is trivial enough.
2023-03-19 23:49:42 +01:00
Max Leiter
dd05ee3a65
TypeScript and Vue 3 (#4559)
Co-authored-by: Eric Nemchik <eric@nemchik.com>
Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
2022-06-18 17:25:21 -07:00
Reto
d228a8c4f4
Bump most deps (#4453) 2022-02-09 15:27:34 -08:00
Max Leiter
11ba27d809
Update emoji map 2021-07-06 01:31:24 -07:00
Pavel Djundik
f63f1abb7c Remove graphql-request dependency from changelog script 2020-08-17 12:46:28 +03:00
Pavel Djundik
19d6b7d98f Replace dashes to underscores in emoji autocompletion 2020-08-13 10:47:50 +03:00
Pavel Djundik
881b3eda19 Run format after updating to prettier 2.0 2020-03-21 22:55:36 +02:00
Pavel Djundik
10b1cedbb6 Remove \uFE0F emoji variant from emoji name map 2019-11-26 14:17:37 +02:00
Pavel Djundik
111c3665f9 Replace moment with dayjs
Drop in replacement, but smaller
2019-11-25 20:13:10 +02:00
Pavel Djundik
fc1c9568e2 Rename helpers folder, move some vue filters 2019-11-25 20:12:58 +02:00
Pavel Djundik
e3e0495a9f Extract updated packages from pull request body
Fixes getting package list when PR updates multiple packages (monorepos)
2019-10-15 21:30:43 +03:00
Pavel Djundik
3c9ba130a0 Allow saving github token to a file 2019-08-13 12:43:47 +03:00
Alistair McKinlay
133e7bf710 Format js/vue with prettier 2019-07-19 11:27:40 +01:00
Alistair McKinlay
ab8d819193 Set up Prettier on md, html, json, and yaml 2019-07-17 10:22:30 +01:00
Pavel Djundik
b95c8236bd Use @github's emoji data 2019-06-10 22:17:00 +03:00
Pavel Djundik
fe68f2a1ee Replace request with got 2019-05-13 10:30:43 +03:00
Pavel Djundik
4f3e4a0865
Merge pull request #3004 from thelounge/xpaw/drop-node-6
Bump minimum node version to 8 LTS
2019-02-12 12:47:36 +02:00
Jérémie Astori
7c024864b2
Improve discriminating bots from actual contributors in the list of PRs/commits 2019-01-30 00:47:08 -05:00
Jérémie Astori
682207ffe6
Use a __typename on commits and pull requests to discriminate on types
This was done by checking if the entry had a title or a messageHeadline, which is rather brittle.
2019-01-30 00:34:39 -05:00
Pavel Djundik
b8dde41482 Bump minimum node version to 8 LTS 2019-01-29 10:44:19 +02:00
Jérémie Astori
85d87a3b37
Make sure to retrieve the correct tag info when there is no commit attached to the tag 2019-01-29 01:04:30 -05:00
Jérémie Astori
bd5cbba03e
Do not report the (renamed) Renovate bot as a contributor 2019-01-28 03:13:09 -05:00
Jérémie Astori
07052d2870
List website contributors as well when generating changelog entries 2019-01-10 01:11:48 -05:00
Jérémie Astori
aa39f31fa9
Cleanup changelog entries dedupe function 2019-01-08 00:30:06 -05:00
Jérémie Astori
41c1b3275e
Only generate entries for commits/PRs that do not already exist in the CHANGELOG upon re-generation
This is helpful when commits are added after starting to work on the changelog entry.
2019-01-07 00:32:18 -05:00
Jérémie Astori
263d2ca133
Merge pull request #2786 from thelounge/xpaw/fix-changelog
Update changelog generator script
2018-12-15 23:44:29 -05:00
Jérémie Astori
74b7d22a44
Add a couple URLs in changelog output to make it easier to track skipped commits/PRs 2018-12-10 01:17:47 -05:00
Jérémie Astori
f832f8e65b
Fix a bug in comment meta tag detection 2018-12-10 01:17:19 -05:00
Jérémie Astori
8e2b64d8b1
Skip all commits for version bumps or changelog entries 2018-12-10 01:16:58 -05:00
Pavel Djundik
f02949ef0a Make links in generated config relative 2018-11-30 12:34:18 +02:00
Pavel Djundik
8635f2f3d8 Fix missing colors dependency, simplify version warning 2018-11-27 13:15:01 +02:00
Pavel Djundik
e321c7eb99 Minor fixes in the config 2018-10-29 09:54:58 +02:00
Jérémie Astori
7c4fce55ff
Fix config generator script comment 🙄 2018-10-28 22:55:54 -04:00
Pavel Djundik
05482e952b Update package title extraction for renovate bot 2018-09-19 14:46:55 +03:00
Pavel Djundik
557d4c4ddd Use website repo last tag because it can differ 2018-09-19 14:42:37 +03:00
Pavel Djundik
d326435fe7 Split pull request query into chunks
Otherwise github api chokes when asking about too many pull requests at once
2018-09-19 14:31:25 +03:00
Pavel Djundik
62cb252933 Fix website repository name 2018-09-19 14:30:48 +03:00
Pavel Djundik
81913bca66 Update emoji data for Emoji v11 2018-08-31 22:41:41 +03:00
Jérémie Astori
09d6dfc604
Merge pull request #2645 from thelounge/astorije/better-docs
Improve inline documentation of config defaults and use it to generate website counterpart
2018-07-21 02:12:37 -04:00
christer88
8b1e7c0f72
Remove [sudo] as requested 2018-07-19 09:15:40 +02:00
christer88
8d5de36987
Recommend using Yarn instead of NPM in changelog
TheLounge has started using Yarn, but does also support NPM. Yarn seems to in some cases solve issues people experience when using NPM, e.g. Sqlite3 installation.

I think it's good and about time to recommend using Yarn instead of NPM.
2018-07-19 01:10:49 +02:00
Jérémie Astori
fd5652ed60
Add a script to generate documentation for config.js based on comments 2018-07-17 01:39:45 -04:00
Pavel Djundik
67abcb03c2 Replace Greenkeeper with Renovate 2018-05-15 09:56:23 +03:00
Max Leiter
01753a814c Improve accessibility for emoji 2018-03-18 12:13:48 -07:00
Pavel Djundik
fee81e78e1 Replace colors.js with chalk 2018-03-02 20:28:54 +02:00
Jérémie Astori
b943b12cd1
Use Yarn in the PR-test script 2018-02-22 00:50:27 -05:00