Post url updated before site is actually deployed and new urls are available in site.posts
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- github, jekyll, ruby
- 领域
- build-system
调研方向
首先,使用链接的在线站点和源代码仓库重现部署时序,比较 push 到部署完成期间的 overview link、old URL、new URL 以及 site.posts 中的条目。Issue 中没有指定源文件或测试,因此在决定可以更改哪些行为之前,先跟踪 GitHub Pages 如何构建和发布 post URL。完成的标准是,部署期间 overview link 不会链接到不可用的 post。
由索引模型根据 Issue 内容生成。
描述
This issue affects
- The site generated by GitHub Pages
- Building sites locally
The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.
What did you do (e.g., steps to reproduce)
- Pushed a post
- Renamed the date to correctly reflect today and pushed it
What did you expect to happen?
- The post to have the old date until a new deployment is finished.
What happened instead?
Between pushing the ammended post and that deployment being finished, the site is partially broken:
- The ammended post is displayed in the overview with the old date and a link to the old url
- When clicking on that url, the post is not available and returns a 404
- When navigating to the new url, the post is available
Additional information
- Link to the live site (if applicable): https://prinsfrank.nl
- Link to the source repo (if applicable): https://github.com/PrinsFrank/PrinsFrank.nl
- 主要语言
- Ruby
- 星标
- 1.9k
- 派生
- 361
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/pages-gem 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 5/100
-
index.html未关闭
难度 5/5 一周以上 新手友好度 5/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
FreeCAD/homebrew-freecad#870 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
security
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
OSCON 2016未关闭content
难度 2/5 1-3 小时 新手友好度 68/100
rubyevents/rubyevents#2148 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
we-promise/sure#3838 · 2 条评论 ·
维护者通常 1 天内回复