[Bug 12440] make "rsync -N" == "rsync --numeric-ids" ?

2016-11-23 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12440

Wayne Davison  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
 Status|REOPENED|RESOLVED

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 12440] make "rsync -N" == "rsync --numeric-ids" ?

2016-11-23 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12440

Harri  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |---

--- Comment #4 from Harri  ---
PS: The popt feature is interesting, but I made this suggestion for the benefit
of *all* rsync users. Not to mention that there would be no error message if
the /etc/popt and ~/.popt files are missing and rsync would silently use
--crtimes instead, mapping it to NOOP.

Please reconsider.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 12440] make "rsync -N" == "rsync --numeric-ids" ?

2016-11-23 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12440

--- Comment #3 from Harri  ---
I have several objections:
* --numeric-ids is in wide use, while there is no --crtimes in rsync yet
* --crtimes is useful only on MacOS, --numeric-ids on all Unix-like platforms.
The 
  probality for someone using --numeric-ids is much higher.
* There is no "n" in "crtimes". The letter was chosen just because it was free. 
  Another char could be used just as easy. But "N" == "numeric"? Thats easy to
  remember.
Of course the --crtimes is a useful option for the MacOS command line users,
but maybe Apple is dropping this feature in their new file system next week.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 12440] make "rsync -N" == "rsync --numeric-ids" ?

2016-11-23 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12440

Wayne Davison  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
 Status|NEW |RESOLVED

--- Comment #2 from Wayne Davison  ---
The -N option is the letter that the crtimes patch uses for --crtimes, so I
consider it already allocated.

One thing you can use is the popt (option parsing) library's support for
aliases in both /etc/popt and ~/.popt -- e.g.:

rsync alias -N --numeric-ids
rsync alias -9 -ai --numeric-ids --chmod=o-rwx --omit-link-times

As long as you allocate your hosts with a consistent /etc/popt file, you can
treat the option the same as if it were compiled into the executable.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 12440] make "rsync -N" == "rsync --numeric-ids" ?

2016-11-23 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12440

--- Comment #1 from Harri  ---
Created attachment 12689
  --> https://bugzilla.samba.org/attachment.cgi?id=12689&action=edit
proposed patch

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 12440] New: make "rsync -N" == "rsync --numeric-ids" ?

2016-11-23 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12440

Bug ID: 12440
   Summary: make "rsync -N" == "rsync --numeric-ids" ?
   Product: rsync
   Version: 3.1.2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P5
 Component: core
  Assignee: way...@samba.org
  Reporter: hdun...@aixigo.de
QA Contact: rsync...@samba.org

Hi folks,

"--numeric-ids" is a lot of text and easy to be forgotten or misspelled.

Since it is a highly important option for making backups of remote systems via
rsync I wonder if "-N" could be introduced as an abbreviation for
"--numeric-ids"? "-N" is not in use yet, afaics.

Just a suggestion, of course. Keep on your good work.

Regards
Harri

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: make "rsync -N" == "rsync --numeric-ids" ?

2016-11-23 Thread Harald Dunkel
On 11/18/2016 10:49 AM, Paul Slootman wrote:
> On Fri 18 Nov 2016, Harald Dunkel wrote:
>>
>> "--numeric-ids" is a lot of text and easy to be forgotten or
>> misspelled.
>>
>> Since it is a highly important option for making backups of
>> remote systems via rsync I wonder if "-N" could be introduced
>> as an abbreviation for "--numeric-ids"? "-N" is not in use yet,
>> afaics.
> 
> Here's a "me too"; I remember actually trying to use -N a couple of
> times instead of --numeric-ids because it's the natural thing to use...
> 

I created an enhancement request:

https://bugzilla.samba.org/show_bug.cgi?id=12440

Regards
Harri


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: make "rsync -N" == "rsync --numeric-ids" ?

2016-11-18 Thread Paul Slootman
On Fri 18 Nov 2016, Harald Dunkel wrote:
> 
> "--numeric-ids" is a lot of text and easy to be forgotten or
> misspelled.
> 
> Since it is a highly important option for making backups of
> remote systems via rsync I wonder if "-N" could be introduced
> as an abbreviation for "--numeric-ids"? "-N" is not in use yet,
> afaics.

Here's a "me too"; I remember actually trying to use -N a couple of
times instead of --numeric-ids because it's the natural thing to use...


Paul

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

make "rsync -N" == "rsync --numeric-ids" ?

2016-11-18 Thread Harald Dunkel
Hi folks,

"--numeric-ids" is a lot of text and easy to be forgotten or
misspelled.

Since it is a highly important option for making backups of
remote systems via rsync I wonder if "-N" could be introduced
as an abbreviation for "--numeric-ids"? "-N" is not in use yet,
afaics.

Just a suggestion, of course. Keep on your good work.

Regards
Harri
--- rsync-3.1.2/options.c~	2015-12-18 23:46:28.0 +0100
+++ rsync-3.1.2/options.c	2016-11-18 08:34:03.855664744 +0100
@@ -1005,7 +1005,7 @@
   {"protect-args",'s', POPT_ARG_VAL,&protect_args, 1, 0, 0},
   {"no-protect-args",  0,  POPT_ARG_VAL,&protect_args, 0, 0, 0},
   {"no-s", 0,  POPT_ARG_VAL,&protect_args, 0, 0, 0},
-  {"numeric-ids",  0,  POPT_ARG_VAL,&numeric_ids, 1, 0, 0 },
+  {"numeric-ids", 'N', POPT_ARG_VAL,&numeric_ids, 1, 0, 0 },
   {"no-numeric-ids",   0,  POPT_ARG_VAL,&numeric_ids, 0, 0, 0 },
   {"usermap",  0,  POPT_ARG_STRING, 0, OPT_USERMAP, 0, 0 },
   {"groupmap", 0,  POPT_ARG_STRING, 0, OPT_GROUPMAP, 0, 0 },
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html