alpha-rudy / taiwan-topo

Taiwan Hiking Maps
58 stars 7 forks source link

rudy.basecamp.tw 網頁內容不同步問題 #56

Closed chihchun closed 5 years ago

chihchun commented 5 years ago

重新寫了 check-mirror[1] 來檢查三個 mirrors 網站的內容,並設定成早上九點十五分自動執行[2]。可提供 gitlab 帳號,設定權限可以線上點選 "Run Pipeline" 可以隨時自動執行檢查。

最後一次執行失敗[3],比較[4] moi.kcwu.csie.org 與 rudy.basecamp.tw 是內容被 Cloudflare 修改,看起來是它自動修正 pre tag 的格式化。

昨晚提交了一個改動[5],修正 pre tag 的使用方式,但是今天早上的 daily build 沒套用上新的格式。煩請協助確認 daily build 是否有吃到新的 md 檔案。

--- taiwan_topo.html    2019-09-12 04:22:33.000000000 +0800
+++ taiwan_topo.html.1  2019-09-12 04:22:33.000000000 +0800
@@ -1505,8 +1505,7 @@

 <h2>地圖版權與散佈說明</h2>

-<pre>
-Copyright (c) 2016 Rudy Chung
+<pre>Copyright (c) 2016 Rudy Chung
 All rights reserved.

 Redistribution and use in source and binary forms, with or without

[1] check-mirror.py · master · basecamp.tw / mirror-checker · GitLab - https://gitlab.com/basecamp.tw/mirror-checker/blob/master/check-mirror.py [2] CI / CD Charts · basecamp.tw / mirror-checker · GitLab - https://gitlab.com/basecamp.tw/mirror-checker/pipelines/charts [3] test (#295253331) · Jobs · basecamp.tw / mirror-checker · GitLab - https://gitlab.com/basecamp.tw/mirror-checker/-/jobs/295253331 [4] https://gist.github.com/chihchun/24eede0aee09b7ca193232c4df86a04e [5] Merge pull request #55 from chihchun/copyright-section · alpha-rudy/taiwan-topo@f84c96b - https://github.com/alpha-rudy/taiwan-topo/commit/f84c96b73903b3eb066356375d911c22d94c2f85

alpha-rudy commented 5 years ago

Hi, @chihchun 兄,

daily drop 只含下列檔案,並不含 taiwan_topo.html

daily = [ "drops/beta.html", "drops/MOI_OSM_Taiwan_TOPO_Rudy.map.zip", "drops/MOI_OSM_Taiwan_TOPO_Rudy_style.zip", "drops/MOI_OSM_Taiwan_TOPO_Rudy_hs_style.zip", "drops/MOI_OSM_Taiwan_TOPO_Rudy_locus_style.zip", "drops/MOI_OSM_bn_style.zip", "drops/Install_MOI_Taiwan_TOPO_camp3D.exe", "drops/Taiwan_moi_zh_camp3D.gmap.zip" ]

alpha-rudy commented 5 years ago

確認,昨天晚上有 merge 進來喔! ^^

Screen Shot 2019-09-14 at 11 07 38 PM