Permalink
Browse files

no drop shadow ok

  • Loading branch information...
rolandshoemaker committed Feb 14, 2015
1 parent 27f18c1 commit fdf530e2d75ca5062904217ad77cce207f9ace33
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
BIN -15.4 KB (90%) screenshots/add_simple_note.png
Binary file not shown.
View
BIN -15.4 KB (90%) screenshots/change_key.png
Binary file not shown.
View
BIN -20.7 KB (87%) screenshots/decrypt_profile.png
Binary file not shown.
View
Binary file not shown.
View
BIN -10.5 KB (89%) screenshots/delete_note.png
Binary file not shown.
View
BIN -13.2 KB (91%) screenshots/edit_notes.png
Binary file not shown.
View
BIN -16.4 KB (89%) screenshots/encrypt_profile.png
Binary file not shown.
View
BIN -14.3 KB (91%) screenshots/first_run.png
Binary file not shown.
View
BIN -14 KB (91%) screenshots/import_note.png
Binary file not shown.
View
BIN -22 KB (92%) screenshots/json_list.png
Binary file not shown.
View
BIN -12.8 KB (89%) screenshots/json_note.png
Binary file not shown.
View
Binary file not shown.
View
BIN -13.2 KB (91%) screenshots/list_notes.png
Binary file not shown.
View
BIN -13.5 KB (92%) screenshots/main.png
Binary file not shown.
View
BIN -18 KB (91%) screenshots/man-page.png
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
BIN -19.1 KB (90%) screenshots/search_notes.png
Binary file not shown.
View
BIN -13.9 KB (92%) screenshots/transfer_note.png
Binary file not shown.
View
BIN -20.5 KB (90%) screenshots/view_note.png
Binary file not shown.
View
Binary file not shown.
View
@@ -393,7 +393,7 @@ pub fn profiles_in_folder(folder: &Path) -> Result<(), ThecaError> {
if is_prof.0 {
let mut msg = try!(path_to_profile_name(file_path));
if is_prof.1 {
msg = format!("{} [encrypted?]", msg);
msg = format!("{} [encrypted]", msg);
}
println!("{}", msg);
}
View
@@ -122,7 +122,7 @@ def all_toolchains():
puts("# %s" % (l))
@parallel
def package(package_prefix, commit_hash, output_dir, clone_depth=50, rust_channel="nightly", target_arch=None):
def _packager(package_prefix, commit_hash, output_dir, clone_depth=50, rust_channel="nightly", target_arch=None):
puts("# STARTED")
# linux / os x agnostic tmpdir
@@ -269,9 +269,9 @@ def package(package_prefix, commit_hash, output_dir, clone_depth=50, rust_channe
puts("# %s BUILDING IS DONE \(◕ ◡ ◕\)" % (env.host))
@runs_once
def run_packager(package_prefix, commit_hash, output_dir, clone_depth=50, rust_channel="nightly", target_arch=None):
def package(package_prefix, commit_hash, output_dir, clone_depth=50, rust_channel="nightly", target_arch=None):
report_name = "%s_build_report.json" % (package_prefix)
packager_reports = execute(package, package_prefix, commit_hash, output_dir, clone_depth=clone_depth, rust_channel=rust_channel, target_arch=target_arch)
packager_reports = execute(_packager, package_prefix, commit_hash, output_dir, clone_depth=clone_depth, rust_channel=rust_channel, target_arch=target_arch)
full_report = {
"package_prefix": package_prefix,
"git_commit": commit_hash,
@@ -283,14 +283,17 @@ def run_packager(package_prefix, commit_hash, output_dir, clone_depth=50, rust_c
with open(os.path.join(output_dir, report_name), "w") as f:
json.dump(full_report, f)
return full_report
def upload_to_static(build_report, update_installer=False):
to_upload = [r["package_name"] for p in build_report["packer_reports"] for r in p["packages"]]
to_upload.append("%s_build_report.json" % (build_report['package_prefix'])
if exists(os.path.join(SERVER_STATIC_DIR, "%s_build_report.json" % (build_report['package_prefix'])):
# move the current stuff to -> package_prefix-DD-MM-YY/
# FIXME: this is wrong, it uses the just built packed_at
dated_dir = "%s-%s" % (build_report["package_prefix"], build_report["packed_at_utc"][:10])
with open(os.path.join(SERVER_STATIC_DIR, "%s_build_report.json" % (build_report['package_prefix']))as old:
old_report = json.load(old)
dated_dir = "%s-%s" % (old_report["package_prefix"], old_report["packed_at_utc"][:10])
_run_mkdir(os.path.join(SERVER_STATIC_DIR, dated_dir))
for existing_upload in to_upload:
run("mv %s %s" % (os.path.join(SERVER_STATIC_DIR, existing_upload), os.path.join(SERVER_STATIC_DIR, dated_dir, existing_upload)))

0 comments on commit fdf530e

Please sign in to comment.