博客更新大事记
$Id: new_blog_arch.org,v 26.6 2026/08/16 17:26:42 dongdigua Exp $
1. 2022-11-20 Branch
I've never fully learnt git before(only search for garbage when meeted with problem), so I recently read ProGit.
And I have some good ideas on my repo architecture: I should make use of branch, obviously.
1.1. Idea is:
seperate the source file(org) and the generated files(html, feed.xml)
so I can
1.1.1. clearly look at the diff
1.1.2. delete the generated files if I want
because those static files are really unecessary and takes much space
1.2. So what
1.2.1. use filter-branch to remove the huge feed.xml in the full history
1.2.2. ignore the generated files in the source repo
1.2.3. merge the source repo into site repo when I think it's ok
don't remove the source(org) in the site repo,
if build in main and checkout to site, those html will be overwritten
1.2.4. and I will use the same stratagy on my YW sub-website if there's no problem
I'm testing using CI on YW sub-site before deploying on this precious repo
2. 2022-12-04 CI v1
I previously thought of using CI to deploy blog, but I thought it too difficult, so just keep status quo.
But for many times I want to build a NixOS with wayland and lots of other big util(such as clang and metasploit),
if I build it on my machine, it will take up too many spaces and make no use except for building iso.
So it urged me to use a CI, after some trying, I found it not difficult and in fact, very useful!
I can have my huge feed.xml(which contains each of my post) dynamically generated by CI, it will save lots of spaces!
I will bundle my entire history mess and put it on release, like previous big change,
then use the Nuclear Option filter-branch to delete those generated big files.
3. 2023-06-07 终于有代码高亮了
4. 2025-05-24 CI v2
构建时间压到了1分钟以下
5. 2026-07-22 新 CSS!
之前那个颜色主题(尤其是浅色)太压抑了