fix: finally got items that have git-lfs working
Some checks failed
Build_Deploy / linter (push) Successful in 6s
Build_Deploy / build (push) Successful in 14s
Build_Deploy / deploy_dns (push) Successful in 47s
Build_Deploy / deploy_active (active) (push) Successful in 47s
Build_Deploy / deploy_active (active-core) (push) Failing after 31s
Build_Deploy / deploy_active (active-ext) (push) Successful in 27s

Long story short it seems that ``git+`` does not handle lfs objects when hashing it

The reason we are using teh archives is as follows:
https://nixos-and-flakes.thiscute.world/other-usage-of-flakes/inputs
>     # Regular git input doesn't support LFS yet.
>     #    git-example-lfs.url = "https://codeberg.org/solver-orgz/treedome/archive/master.tar.gz";
This commit is contained in:
silver 2024-11-02 19:49:35 +00:00
parent 45afc95d99
commit 8c98281eff
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 28 additions and 38 deletions

View file

@ -984,17 +984,15 @@
"utils": "utils_6" "utils": "utils_6"
}, },
"locked": { "locked": {
"lastModified": 1724210543, "lastModified": 1727122068,
"narHash": "sha256-JLt77gajtOPwM20m86Kh2JkWuOq1+kmHr+98UMzbjAY=", "narHash": "sha256-KeZxFw51lKC0MQpai1HbcWSGmxEbG1Si6gBlyOzP9nQ=",
"ref": "refs/heads/main", "rev": "d6b13f9c6e0a09346e0e210aa1733a7258e13763",
"rev": "0af67c9ece40fb683238093d857d96aae2414522", "type": "tarball",
"revCount": 27, "url": "https://forgejo.skynet.ie/api/v1/repos/Skynet/website_2017/archive/d6b13f9c6e0a09346e0e210aa1733a7258e13763.tar.gz?rev=d6b13f9c6e0a09346e0e210aa1733a7258e13763"
"type": "git",
"url": "https://forgejo.skynet.ie/Skynet/website_2017"
}, },
"original": { "original": {
"type": "git", "type": "tarball",
"url": "https://forgejo.skynet.ie/Skynet/website_2017" "url": "https://forgejo.skynet.ie/Skynet/website_2017/archive/main.tar.gz"
} }
}, },
"skynet_website_2009": { "skynet_website_2009": {
@ -1003,17 +1001,15 @@
"utils": "utils_7" "utils": "utils_7"
}, },
"locked": { "locked": {
"lastModified": 1724198445, "lastModified": 1727122067,
"narHash": "sha256-7cN70t/qqmUsShNhIbOSSMToiCRGhEhwZayN2n93KrA=", "narHash": "sha256-s+K1bZsYxeBrsus4vjNeGxljUj/Wtb0qYQ+5xNbZexQ=",
"ref": "refs/heads/main", "rev": "a9f125fb750f33747d28271bef3b3425563096a0",
"rev": "3aa4568ae82846a9d365fc464dfc523be07e7ac3", "type": "tarball",
"revCount": 14, "url": "https://forgejo.skynet.ie/api/v1/repos/Skynet/website_2009/archive/a9f125fb750f33747d28271bef3b3425563096a0.tar.gz?rev=a9f125fb750f33747d28271bef3b3425563096a0"
"type": "git",
"url": "https://forgejo.skynet.ie/Skynet/website_2009"
}, },
"original": { "original": {
"type": "git", "type": "tarball",
"url": "https://forgejo.skynet.ie/Skynet/website_2009" "url": "https://forgejo.skynet.ie/Skynet/website_2009/archive/main.tar.gz"
} }
}, },
"skynet_website_2017": { "skynet_website_2017": {
@ -1023,17 +1019,14 @@
}, },
"locked": { "locked": {
"lastModified": 1689960297, "lastModified": 1689960297,
"narHash": "sha256-+43nNv4RSQMXMRGdN8xVKYs2B13w5FJtefuykYcpywM=", "narHash": "sha256-Hw/9Bo6YdILbbXPymkfiMaah6/t4w7h3fYeUh1+PBe8=",
"ref": "refs/heads/main",
"rev": "edd922c5b13fa1f520e8e265a3d6e4e189852b99", "rev": "edd922c5b13fa1f520e8e265a3d6e4e189852b99",
"revCount": 6, "type": "tarball",
"type": "git", "url": "https://forgejo.skynet.ie/api/v1/repos/Skynet/website_2017/archive/edd922c5b13fa1f520e8e265a3d6e4e189852b99.tar.gz?rev=edd922c5b13fa1f520e8e265a3d6e4e189852b99"
"url": "https://forgejo.skynet.ie/Skynet/website_2017"
}, },
"original": { "original": {
"rev": "edd922c5b13fa1f520e8e265a3d6e4e189852b99", "type": "tarball",
"type": "git", "url": "https://forgejo.skynet.ie/Skynet/website_2017/archive/edd922c5b13fa1f520e8e265a3d6e4e189852b99.tar.gz"
"url": "https://forgejo.skynet.ie/Skynet/website_2017"
} }
}, },
"skynet_website_2023": { "skynet_website_2023": {
@ -1043,17 +1036,14 @@
}, },
"locked": { "locked": {
"lastModified": 1696876711, "lastModified": 1696876711,
"narHash": "sha256-WdZQBLTX6WK8iT7FwvD6sNEefGwtAWmzxZzCvvmDxGo=", "narHash": "sha256-gfQFYN5/qK5aqN+nGSfyQFOjOQzahbqTKadra5zSIL0=",
"ref": "refs/heads/main",
"rev": "c4d61c753292bf73ed41b47b1607cfc92a82a191", "rev": "c4d61c753292bf73ed41b47b1607cfc92a82a191",
"revCount": 12, "type": "tarball",
"type": "git", "url": "https://forgejo.skynet.ie/api/v1/repos/Skynet/website_2017/archive/c4d61c753292bf73ed41b47b1607cfc92a82a191.tar.gz?rev=c4d61c753292bf73ed41b47b1607cfc92a82a191"
"url": "https://forgejo.skynet.ie/Skynet/website_2017"
}, },
"original": { "original": {
"rev": "c4d61c753292bf73ed41b47b1607cfc92a82a191", "type": "tarball",
"type": "git", "url": "https://forgejo.skynet.ie/Skynet/website_2017/archive/c4d61c753292bf73ed41b47b1607cfc92a82a191.tar.gz"
"url": "https://forgejo.skynet.ie/Skynet/website_2017"
} }
}, },
"skynet_website_games": { "skynet_website_games": {

View file

@ -47,15 +47,15 @@
################# #################
# this should always point to teh current website # this should always point to teh current website
skynet_website.url = "git+https://forgejo.skynet.ie/Skynet/website_2017"; skynet_website.url = "https://forgejo.skynet.ie/Skynet/website_2017/archive/main.tar.gz";
# these are past versions of teh website # these are past versions of teh website
skynet_website_2023.url = "git+https://forgejo.skynet.ie/Skynet/website_2017?rev=c4d61c753292bf73ed41b47b1607cfc92a82a191"; skynet_website_2023.url = "https://forgejo.skynet.ie/Skynet/website_2017/archive/c4d61c753292bf73ed41b47b1607cfc92a82a191.tar.gz";
# this is not 100% right since this is from teh archive from 2022 or so # this is not 100% right since this is from teh archive from 2022 or so
skynet_website_2017.url = "git+https://forgejo.skynet.ie/Skynet/website_2017?rev=edd922c5b13fa1f520e8e265a3d6e4e189852b99"; skynet_website_2017.url = "https://forgejo.skynet.ie/Skynet/website_2017/archive/edd922c5b13fa1f520e8e265a3d6e4e189852b99.tar.gz";
# this is more of 2012 than 2009 but started in 2009 # this is more of 2012 than 2009 but started in 2009
skynet_website_2009.url = "git+https://forgejo.skynet.ie/Skynet/website_2009"; skynet_website_2009.url = "https://forgejo.skynet.ie/Skynet/website_2009/archive/main.tar.gz";
}; };
nixConfig = { nixConfig = {