Annex.eval state $ do
buildrpms topdir updated
makeinfos updated version
+ syncToArchiveOrg
-- Download a build from the autobuilder, virus check it, and return its
-- version.
("git-annex-standalone-" ++ tararch ++ ".tar.gz") `isSuffixOf` f
script = topdir </> "standalone" </> "rpm" </> "rpmbuild-from-standalone-tarball"
rpmrepo = "git-annex/linux/current/rpms"
+
+-- My .mrconfig is configured to copy new files to archive.org,
+-- and moves old versions of content to archive.org to free up space on my
+-- server.
+syncToArchiveOrg :: IO ()
+syncToArchiveOrg = void $ boolSystem "mr"
+ [ Param "-d"
+ , File "/srv/web/downloads.kitenet.net"
+ , Param "update"
+ ]
--- /dev/null
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2020-03-04T16:25:55Z"
+ content="""
+That file had not been uploaded to archive.org, so there was no archive.org
+url available for it.
+
+What I'll do is automate the upload to archive.org after each release,
+so the tarballs should usually be available from there, barring some breakage.
+"""]]