mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-07-27 16:51:26 +00:00
Compare commits
6 Commits
e65a8734ef
...
master
Author | SHA1 | Date | |
---|---|---|---|
ee157336c0 | |||
74039edb30 | |||
6e0fd55e39 | |||
da63b300c6 | |||
1e6eafa9cc | |||
5516a4e30b |
@@ -11,11 +11,6 @@ variables:
|
||||
DEFAULT_PIPELINE_NAME: "$CI_COMMIT_BRANCH - $CI_COMMIT_MESSAGE"
|
||||
SCHEDULED_PIPELINE_NAME: "Daily scheduled build pipeline"
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- target/
|
||||
- cargo/
|
||||
|
||||
build:
|
||||
image: rust:latest
|
||||
stage: build
|
||||
@@ -29,11 +24,7 @@ lint:
|
||||
- rustup component add clippy
|
||||
- cargo clippy --all-targets -- -D warnings
|
||||
rules:
|
||||
- if: $SCHEDULED_BUILD_PIPELINE == 'true'
|
||||
allow_failure: true
|
||||
- if: $SCHEDULED_BUILD_PIPELINE != 'true'
|
||||
allow_failure: false
|
||||
|
||||
- if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH"
|
||||
|
||||
test:
|
||||
image: rust:latest
|
||||
|
@@ -20,6 +20,7 @@ https://austinvernon.site/rss.xml
|
||||
https://awesomekling.github.io/feed.xml
|
||||
https://barredo.es/feed/
|
||||
https://bcantrill.dtrace.org/feed/
|
||||
https://benjamincongdon.me/feed.xml
|
||||
https://bernsteinbear.com/feed.xml
|
||||
https://bitcannon.net/index.xml
|
||||
https://blog.andymatuschak.org/rss
|
||||
@@ -111,6 +112,7 @@ https://rubenerd.com/feed/
|
||||
https://saccade.com/blog/feed/
|
||||
https://samhenri.gold/feed.xml
|
||||
https://sd.ai/rss/
|
||||
https://shield.ai/feed/
|
||||
https://simonschreibt.de/feed/
|
||||
https://simonwillison.net/atom/entries/
|
||||
https://simplyexplained.com/atom.xml
|
||||
@@ -138,11 +140,13 @@ https://wingolog.org/feed/atom
|
||||
https://www.bitsaboutmoney.com/archive/rss/
|
||||
https://www.blogofholding.com/?feed=rss2
|
||||
https://www.brendangregg.com/blog/rss.xml
|
||||
https://www.construction-physics.com/feed
|
||||
https://www.doscher.com/rss/
|
||||
https://www.elidedbranches.com/feeds/posts/default
|
||||
https://www.evanjones.ca/index.rss
|
||||
https://www.factorio.com/blog/rss
|
||||
https://www.hillelwayne.com/post/index.xml
|
||||
https://www.inkandswitch.com/index.xml
|
||||
https://www.jeffgeerling.com/blog.xml
|
||||
https://www.joelonsoftware.com/feed/
|
||||
https://www.jonashietala.se/feed.xml
|
||||
@@ -155,6 +159,7 @@ https://www.righto.com/feeds/posts/default
|
||||
https://www.robinwils.com/rss.xml
|
||||
https://www.scattered-thoughts.net/atom.xml
|
||||
https://www.shubhro.com/feed.xml
|
||||
https://www.thornewolf.com/rss/
|
||||
https://www.wezm.net/v2/rss.xml
|
||||
https://www.zachleat.com/web/feed/
|
||||
https://xeiaso.net/blog.rss
|
||||
|
@@ -1 +0,0 @@
|
||||
https://www.construction-physics.com/feed
|
@@ -116,7 +116,7 @@ pub fn read_feed(path: &str) -> Vec<Post> {
|
||||
.filter_map(|url| match web_fetchers::fetch_feed(url) {
|
||||
Ok(entries) => Some(entries),
|
||||
Err(e) => {
|
||||
println!("Failed to fetch or parse feed {}: {}", url, e);
|
||||
println!("Failed to fetch or parse feed {url}: {e}");
|
||||
None
|
||||
}
|
||||
})
|
||||
@@ -131,7 +131,7 @@ pub fn read_feed(path: &str) -> Vec<Post> {
|
||||
.par_iter()
|
||||
.map(|entry| {
|
||||
Post::from_entry(entry).map_err(|e| {
|
||||
log::warn!("Failed to process entry: {}", e);
|
||||
log::warn!("Failed to process entry: {e}");
|
||||
e
|
||||
})
|
||||
})
|
||||
|
@@ -18,7 +18,7 @@ fn test_if_feeds_are_in_alphabetical_order() {
|
||||
urls.sort();
|
||||
|
||||
for url in urls {
|
||||
println!("{}", url);
|
||||
println!("{url}");
|
||||
}
|
||||
panic!("feeds.txt was not sorted!")
|
||||
}
|
||||
@@ -50,7 +50,7 @@ fn test_if_duplicates_in_feeds_list() {
|
||||
|
||||
if !duplicates.is_empty() {
|
||||
for dupe in duplicates {
|
||||
println!("{}", dupe)
|
||||
println!("{dupe}")
|
||||
}
|
||||
panic!("Duplicate entries found!")
|
||||
}
|
||||
|
Reference in New Issue
Block a user