--- a/src/Pure/Admin/afp.scala Fri Oct 13 09:01:27 2017 +0200
+++ b/src/Pure/Admin/afp.scala Fri Oct 13 13:31:56 2017 +0200
@@ -9,6 +9,8 @@
object AFP
{
+ val repos_source = "https://bitbucket.org/isa-afp/afp-devel"
+
def init(options: Options, base_dir: Path = Path.explode("$AFP_BASE")): AFP =
new AFP(options, base_dir)
--- a/src/Pure/Admin/build_release.scala Fri Oct 13 09:01:27 2017 +0200
+++ b/src/Pure/Admin/build_release.scala Fri Oct 13 13:31:56 2017 +0200
@@ -127,8 +127,7 @@
} yield (bundle, bundle_info)
val afp_link =
- HTML.link("https://bitbucket.org/isa-afp/afp-devel/commits/" + afp_rev,
- HTML.text("AFP/" + afp_rev))
+ HTML.link(AFP.repos_source + "/commits/" + afp_rev, HTML.text("AFP/" + afp_rev))
HTML.write_document(dir, "index.html",
List(HTML.title(release_info.name)),
--- a/src/Pure/Admin/isabelle_cronjob.scala Fri Oct 13 09:01:27 2017 +0200
+++ b/src/Pure/Admin/isabelle_cronjob.scala Fri Oct 13 13:31:56 2017 +0200
@@ -23,7 +23,6 @@
val isabelle_repos = main_dir + Path.explode("isabelle")
val isabelle_repos_test = main_dir + Path.explode("isabelle-test")
val afp_repos = main_dir + Path.explode("AFP")
- val afp_source = "https://bitbucket.org/isa-afp/afp-devel"
val jenkins_jobs = "identify" :: Jenkins.build_log_jobs
@@ -39,7 +38,7 @@
Isabelle_Devel.make_index()
val rev = Mercurial.repository(isabelle_repos).id()
- val afp_rev = Mercurial.setup_repository(afp_source, afp_repos).id()
+ val afp_rev = Mercurial.setup_repository(AFP.repos_source, afp_repos).id()
File.write(logger.log_dir + Build_Log.log_filename("isabelle_identify", logger.start_date),
Build_Log.Identify.content(logger.start_date, Some(rev), Some(afp_rev)))
@@ -246,7 +245,6 @@
Build_History.remote_build_history(ssh,
isabelle_repos,
isabelle_repos.ext(r.host),
- isabelle_repos_source = "http://isabelle.in.tum.de/repos/isabelle",
isabelle_identifier = "cronjob_build_history",
self_update = self_update,
push_isabelle_home = push_isabelle_home,