╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ───────╮ │src/test/net.zig│ ╰────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │586 break :blk try client.commit(io, allocator, .{ .message = "add feature" }); │ │587 }; │ │588 │ │589 - const remote_url = try std.fmt.allocPrint(allocator, "git@localhost:fork/admin/target/patch:{s}", .{&fork_id_hex});│ │589 + const remote_url = try std.fmt.allocPrint(allocator, "git@localhost:admin:target+{s}", .{&fork_id_hex}); │ │590 defer allocator.free(remote_url); │ │591 try client.addRemote(io, allocator, .{ .name = "patch", .value = remote_url }); │ │592 try client.push(io, allocator, "patch", "master:patch", false, .{ .wire = .{ .ssh = .{ .command = ssh_cmd } } }); │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │645 } }, .{ .name = "admin", .email = "admin@example.test" }); │ │646 } │ │647 │ │648 - const feature_remote_url = try std.fmt.allocPrint(allocator, "git@localhost:fork/admin/target/patch:{s}", .{&fork_id_hex});│ │648 + const feature_remote_url = try std.fmt.allocPrint(allocator, "git@localhost:admin:target+{s}", .{&fork_id_hex}); │ │649 defer allocator.free(feature_remote_url); │ │650 try client.addRemote(io, allocator, .{ .name = "patch-to-feature", .value = feature_remote_url }); │ │651 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │782 try std.testing.expectEqualStrings(&second_patch_oid, imported.patch_oid); │ │783 } │ │784 │ │785 - const other_url = try std.fmt.allocPrint(allocator, "git@localhost:fork/admin/other/patch:{s}", .{&fork_id_hex});│ │785 + const other_url = try std.fmt.allocPrint(allocator, "git@localhost:admin:other+{s}", .{&fork_id_hex}); │ │786 defer allocator.free(other_url); │ │787 try client.addRemote(io, allocator, .{ .name = "other", .value = other_url }); │ │788 // early rejections need no input. give ssh eof so windows openssh │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │846 }); │ │847 } │ │848 │ │849 - const denied_url = try std.fmt.allocPrint(allocator, "git@localhost:fork/admin/target/patch:{s}", .{&fork_id_hex}); │ │849 + const denied_url = try std.fmt.allocPrint(allocator, "git@localhost:admin:target+{s}", .{&fork_id_hex}); │ │850 defer allocator.free(denied_url); │ │851 try client.addRemote(io, allocator, .{ .name = "denied", .value = denied_url }); │ │852 try std.testing.expectError(error.ServerReportedError, client.push(io, allocator, "denied", "master:patch", false, .{ .wire = .{ .ssh = .{ .command = reject_ssh_cmd } } }));│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────╮ │911 } } }, │ │912 ); │ │913 │ │914 - // the push registered admin/server; resolve its on-disk directory │ │914 + // the push registered admin:server; resolve its on-disk directory │ │915 const server_path = (try repoOnDiskPath(io, allocator, temp_path, "testrepo", false)).?;│ │916 defer allocator.free(server_path); │ │917 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────╮ │1661 defer user_repo.deinit(io, allocator); │ │1662 } │ │1663 │ │1664 -// resolve admin/<repo_name> to its on-disk directory under <data_dir>/users via│ │1664 +// resolve admin:<repo_name> to its on-disk directory under <data_dir>/users via│ │1665 // the event store │ │1666 fn repoOnDiskPath( │ │1667 io: std.Io, │ ╰──────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────╮ │1687 return try evt.repoPath(allocator, users_dir, &location.owner_id, &location.repo_id);│ │1688 } │ │1689 │ │1690 -// build the remote URL addressing admin/<repo_name> over the given transport │ │1690 +// build the remote URL addressing admin:<repo_name> over the given transport │ │1691 fn remoteUrl( │ │1692 comptime transport_def: net.TransportDefinition, │ │1693 allocator: std.mem.Allocator, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1697 return switch (transport_def) { │ │1698 .file => unreachable, │ │1699 .wire => |wire_kind| switch (wire_kind) { │ │1700 - .http => try std.fmt.allocPrint(allocator, "http://localhost:{}/admin/{s}", .{ port, repo_name }),│ │1701 - .raw => try std.fmt.allocPrint(allocator, "git://localhost:{}/admin/{s}", .{ port, repo_name }), │ │1702 - .ssh => try std.fmt.allocPrint(allocator, "git@localhost:admin/{s}", .{repo_name}), │ │1700 + .http => try std.fmt.allocPrint(allocator, "http://localhost:{}/admin:{s}", .{ port, repo_name }),│ │1701 + .raw => try std.fmt.allocPrint(allocator, "git://localhost:{}/admin:{s}", .{ port, repo_name }), │ │1702 + .ssh => try std.fmt.allocPrint(allocator, "git@localhost:admin:{s}", .{repo_name}), │ │1703 }, │ │1704 }; │ │1705 } │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────╮ │src/test/ui.zig│ ╰───────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │117 try repo.add(io, allocator, &.{name}); │ │118 head = try repo.commit(io, allocator, .{ .message = "add file" }); │ │119 } │ │120 - const route = ui.RoutablePage.repoDiffRoute("alice/project", .object, &head, 0, "", &base) orelse return error.BadRoute;│ │120 + const route = ui.RoutablePage.repoDiffRoute("alice:project", .object, &head, 0, "", &base) orelse return error.BadRoute;│ │121 const diff = try Diff.init(kind, opts, &arena, &repo, io, allocator, route.repo_diff); │ │122 const first = diff.window; │ │123 try std.testing.expectEqual(Diff.page_size, first.hunks.len); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │139 .{ .ref = .tag, .value = "tip" }, │ │140 }; │ │141 for (sources) |source| { │ │142 - const selected = ui.RoutablePage.repoDiffRoute("alice/project", source.ref, source.value, 0, "", &base) orelse return error.BadRoute;│ │142 + const selected = ui.RoutablePage.repoDiffRoute("alice:project", source.ref, source.value, 0, "", &base) orelse return error.BadRoute;│ │143 const data = try Diff.init(kind, opts, &arena, &repo, io, allocator, selected.repo_diff); │ │144 try std.testing.expectEqualDeep(first, data.window); │ │145 } │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯