def step_impl(context, name): repo_path = create_svn_server_and_repo(context, name) with in_directory(repo_path): for file in context.table: generate_file(file["path"], "some content") add_and_commit("Added files")
def step_impl(context, name): remote_path = os.path.join(context.remotes_dir, name) pathlib.Path(remote_path).mkdir(parents=True, exist_ok=True) with in_directory(remote_path): create_repo() for file in context.table: generate_file(file["path"], "some content") commit_all("Initial commit") tag("v1")
def step_impl(context, name): repo_path = create_svn_server_and_repo(context, name) files = context.table or [{"path": "README.md"}] with in_directory(repo_path): create_stdlayout() with in_directory("trunk"): for file in files: generate_file(file["path"], "some content") add_and_commit("Added files")
def step_impl(context, name): remote_path = os.path.join(context.remotes_dir, name) pathlib.Path(remote_path).mkdir(parents=True, exist_ok=True) with in_directory(remote_path): create_repo() generate_file("README.md", f"Generated file for {name}") if context.text: generate_manifest(context) commit_all("Initial commit") tag("v1")
def step_impl(context, name): repo_path = create_svn_server_and_repo(context, name) with in_directory(repo_path): generate_file("SomeFolder/SomeFile.txt", "some content") add_and_commit("Added files")