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 52s
Build_Deploy / deploy_active (active) (push) Successful in 46s
Build_Deploy / deploy_active (active-core) (push) Failing after 35s
Build_Deploy / deploy_active (active-ext) (push) Successful in 30s

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 93bfe68f95
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 34 additions and 46 deletions

View file

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

View file

@ -40,22 +40,22 @@
#####################
### compsoc stuff ###
#####################
compsoc_public.url = "git+https://forgejo.skynet.ie/Computer_Society/presentations_compsoc";
compsoc_public.url = "https://forgejo.skynet.ie/Computer_Society/presentations_compsoc/archive/main.tar.gz";
#################
### skynet.ie ###
#################
# 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
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
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
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 = {