今年想做個新的嘗試
每週記錄工作以外,我在開源專案的貢獻
能看到自己量化的前進,就會有多一點動力繼續下去
原子習慣將這樣的概念稱為習慣追蹤器
這本書真的很棒推薦給大家
如果看過了,再推薦一本更棒,但難啃一點的為什麼我們這樣生活,那樣工作?
如果只是要記錄,寫在筆記就好了,幹嘛還要發一篇文章呢?
這也是源自原子習慣的概念 - 問責夥伴
不過追根究底可能就跟聖愛音一樣
這週因為過年所以特別多
下週以後就不知道了
希望這個週報不要只有一回......
commitizen
commitizen 是我認真進入開源很重要的開始,是我很有感情的專案
每次都想要好好整理它,無奈時間實在有限
這週花了點時間看了堆積已久的 PR ,把所有pr-status: wait-for-review都看完了
現在還有這個 label 的應該都是我改過的 PR ,要等其他 maintainer 看
- Feature/multi language commitizen #1328
- fix(commands/bump): prevent using incremental changelog when it is set to false in config #996
- feat: add custom validation #1236
- feat(commit): implement questions 'filter' support with handlers #1207
- feat(tags): adds legacy_tag_formats and ignored_tag_formats settings #1297
有些遠古 PR ,因為拖太久沒看,貢獻者可能已經不會回來了
所以我也撿了一些起來修
- feat: add --allow-no-commit option #723 修到可以 review
- feat(commands/commit): apply prepare-commit-msg hook #250 修到一半發現 feat(commit): add --write-message-to-file option #731 早就做完了...,順手把這個 PR 跟原始 issue cz commit with prepare-commit-msg hook #249都關了
- fixes yaml example #1350 修完就 merge 了
至於剩下的 17 隻 pr-status: wait-for-modification PRs
恩...就看緣分了
除此之外,我也開了幾隻 PRs
- Improve hooks type annotation and fix missing link #1345: wait for review 🕑
- Upgrade to poetry 2.0 #1346: merged 🙌
最近在玩 uv 才發現 commitizen 不會更新到 uv.lock,用 version_file
也解不了
開了 issue Add uv provider #1349 跟 draft PR feat(providers): add uv_provider #1351
不要問為什麼沒有人解決這個問題,我就是沒有人
下週會盡力分類一些 issues
去年 PyCon US 分類了一半,真的超花時間.....
貢獻者絕贊招募中
pycontw-blog
如果你還不知道, PyCon Taiwan 是有自己的部落格的
Issue Add general python distribution setup steps #112 開了很久,但一直沒時間好好處理
最近聽說 uv 在 Windows 上的支援也不錯
就果斷透過Replace pipenv with uv #200把套件管理從 pipenv 改到 uv 上
原本以為更新文件要花很多時間
但 Yo 哥真的寫得太好了,我稍微改一下就結束了
大哥除了上個月飛、這個月也飛,當空中飛人很厲害以外,程式也是了得
沒想到當我在做這件事的時候,社群的夥伴也想到了類似的事
這是巧合嗎,我不這麼認為,一定是三角初華的陰謀
還好我們想做的事不同面向的
也花了點時間看了她的 PR dependency: Update README to include prerequisites and modify the sequence of instructions #202
markdown-mermaidjs
這是源自於 oruelle/md_mermaid 的專案
因為原作者沒在維護,我的部落格又需要
就 fork 出 Lee-W/markdown-mermaidjs 來用
最近熱心人士 Owyn 開了 PR Feature/add icon packs #5 加新功能
他幾乎已經做完,就差最後一步
我順手修完就 merge 了
感謝 Owyn 🙏
除此之外,我把專案的結構用Update project structure with the latest template #6根據最新版的cookiecutter-python-template更新了
順便找出不少模板的 bug,之後找時間來修
另外還有許久以前 ysard 開的 issue Conflict with html minification tools #16
終於有時間認真看,意外的蠻簡單的
就發了 PR generate < pre class="mermaid">< /pre> instead of < div class="mermaid">< /div> #7 把它給修了
因為這些改動,這一週就發了兩版
pelican-stat
這是在 2021 ~ 2024 年度回顧 - 持續紀錄的秘訣是寫廢文 提到的工具
除了更新專案結構,大多都是細碎的小 PRs 而已
原本以為更新 6.0.0 就不會有奇怪的特殊字元
結果只是換了別的特殊字元...
然後我的 RSS feed 就會壞掉
最後放棄手工休掉了
- Upgrade project with the latest project template #4
- docs(CHANGELOG): fix typo #8
- ci(github-actions): fix publish page action #9
- suggest users to use uv to install this tool #10
- Fix doc typo #11
- fix(dep): upgrade plotly to 6.0.0 #12
- ci(github-actions): fix missing pre-commit install #13
一樣發了兩版
比較有趣的應該是有玩到 Trusted Publisher
pycon-etl
因為最近 Airflow 3.0 要釋出,我希望能慢慢幫 PyCon TW 的 Airflow 也升級一下
看完文件發了 docs(README): fix typos #153
但是 pycon-etl 還在 Python 3.8
EOL 已經過了...
所以 workflow 不支援
看來要升版 Airflow 前, Python 要先升了...