Re: 0release on Windows
"Bastian Eicher" <[email protected]>
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
Almost forgot about this. I've attached a new attempt for the last patch. -----Original Message----- From: Thomas Leonard [mailto:[email protected]] Sent: Samstag, 4. Juli 2015 14:20 To: The Zero Install system Subject: Re: [Zero-install-devel] 0release on Windows On 30 June 2015 at 23:48, Bastian Eicher <[email protected]> wrote: > I've been playing around with 0release a bit and trying to get it > working on Windows. I've attached patches for my work so far. Thanks - I've applied the first four. Note that most of the settings in the make-release script are "legacy": when using 0repo, the only one you need is PUBLIC_SCM_REPOSITORY. For the last one, is there some other way to pass --set-released='' (this removes the "released" attribute from the new Git branch)? ------------------------------------------------------------------------------ _______________________________________________ Zero-install-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/zero-install-devel
support.publish-arguments.patch
(application/octet-stream, 816 B)
>From 05420f22e68ead5f65636be070b4489dbba725ba Mon Sep 17 00:00:00 2001 From: Bastian Eicher <[email protected]> Date: Wed, 29 Jul 2015 12:50:13 +0200 Subject: [PATCH] support.publish(): Use --key="value" arguments instead of --key value This avoids issues with empty argument values on Windows. --- support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support.py b/support.py index 57c87ca..3cd6d9f 100644 --- a/support.py +++ b/support.py @@ -54,7 +54,7 @@ def publish(feed_path, **kwargs): if value is True: args += ['--' + k.replace('_', '-')] elif value is not None: - args += ['--' + k.replace('_', '-'), value] + args += ['--' + k.replace('_', '-') + "='" + value + "'"] args.append(feed_path) info("Executing %s", args) check_call(args) -- 1.9.5.msysgit.1