401 def remote_build_history( |
401 def remote_build_history( |
402 ssh: SSH.Session, |
402 ssh: SSH.Session, |
403 isabelle_repos_self: Path, |
403 isabelle_repos_self: Path, |
404 isabelle_repos_other: Path, |
404 isabelle_repos_other: Path, |
405 isabelle_repos_source: String = "http://isabelle.in.tum.de/repos/isabelle", |
405 isabelle_repos_source: String = "http://isabelle.in.tum.de/repos/isabelle", |
|
406 isabelle_identifier: String = default_isabelle_identifier, |
406 self_update: Boolean = false, |
407 self_update: Boolean = false, |
407 push_isabelle_home: Boolean = false, |
408 push_isabelle_home: Boolean = false, |
408 progress: Progress = No_Progress, |
409 progress: Progress = No_Progress, |
409 options: String = "", |
410 options: String = "", |
410 args: String = ""): (List[(String, Bytes)], Process_Result) = |
411 args: String = ""): (List[(String, Bytes)], Process_Result) = |
452 { |
453 { |
453 val output_file = tmp_dir + Path.explode("output") |
454 val output_file = tmp_dir + Path.explode("output") |
454 |
455 |
455 val process_result = |
456 val process_result = |
456 ssh.execute( |
457 ssh.execute( |
|
458 Isabelle_System.export_isabelle_identifier(isabelle_identifier) + |
457 ssh.bash_path(isabelle_admin + Path.explode("build_history")) + |
459 ssh.bash_path(isabelle_admin + Path.explode("build_history")) + |
458 " -o " + ssh.bash_path(output_file) + " " + options + " " + |
460 " -o " + ssh.bash_path(output_file) + " " + options + " " + |
459 ssh.bash_path(isabelle_repos_other) + " " + args, |
461 ssh.bash_path(isabelle_repos_other) + " " + args, |
460 progress_stdout = progress.echo(_), |
462 progress_stdout = progress.echo(_), |
461 progress_stderr = progress.echo(_), |
463 progress_stderr = progress.echo(_), |