Skip to content

Commit 54f6179

Browse files
authored
Release 2.0.0
Merge pull request #889 from Murmele/release
2 parents be58d65 + 72ae0a9 commit 54f6179

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ set(GITTYUP_NAME "Gittyup")
66
set(GITTYUP_EXECUTABLE_NAME "gittyup")
77
set(GITTYUP_IDENTIFIER "com.github.Murmele.Gittyup")
88
set(GITTYUP_ORGANIZATION_DOMAIN "Murmele.github.com")
9-
set(GITTYUP_VERSION_MAJOR 1)
10-
set(GITTYUP_VERSION_MINOR 4)
9+
set(GITTYUP_VERSION_MAJOR 2)
10+
set(GITTYUP_VERSION_MINOR 0)
1111
set(GITTYUP_VERSION_PATCH 0)
1212
set(GITTYUP_VERSION
1313
"${GITTYUP_VERSION_MAJOR}.${GITTYUP_VERSION_MINOR}.${GITTYUP_VERSION_PATCH}"

docs/changelog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
### vX.X.X - 2024-06-13 (DEV)
1+
### v2.0.0 - 2025-11-30
22

33
Bug Fix and Feature release
44

55
#### Added
66

77
* Add commit filter to show only the first parent in the commit list view
8+
* Add backend support for SHA256 repos
9+
* Fix email filter being not returning any results
10+
* Add mmap based reading to speed up indexer
811

912
#### Changed
1013

src/update/Updater.cpp

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,21 @@ void Updater::update(bool spontaneous) {
177177
#endif
178178
Debug("Download url of the update: " << link);
179179

180-
emit updateAvailable(platform, version, html, link);
180+
// Check if the url exists
181+
auto *reply = mMgr.head(QNetworkRequest(link));
182+
connect(reply, &QNetworkReply::finished,
183+
[this, spontaneous, reply, platform, version, html, link] {
184+
// Destroy the reply later.
185+
reply->deleteLater();
186+
187+
if (reply->error() == QNetworkReply::NoError) {
188+
emit updateAvailable(platform, version, html, link);
189+
} else {
190+
// We don't have a new version for this platform
191+
if (!spontaneous)
192+
emit upToDate();
193+
}
194+
});
181195
});
182196
}
183197

0 commit comments

Comments
 (0)