[Midnight Commander] #2240: Background jobs queue (aka: file copy queue)

783 views
Skip to first unread message

Ticket System

unread,
Jun 14, 2010, 6:21:17 PM6/14/10
to danilo....@gmail.com, mc-...@googlegroups.com
#2240: Background jobs queue (aka: file copy queue)
-----------------------------+----------------------------------------------
Reporter: danilo.schembri | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.8
Component: mc-core | Version: 4.7.0-pre3
Severity: no branch | Keywords:
Votes: | Blocking:
Blockedby: |
-----------------------------+----------------------------------------------
When slow devices are used (slow networks, old USB, ...) a functionality
which executes background jobs one at a time would be appreciated.

I wrote a patch which does this (only and simply this), but a fully
functionality could include:
- a new state ("Queued") for a background job
- a new button in background jobs list which allows to set "Queued" state
("Resume" is already present and fine working)
- a new parameter which allows to specify max number of concurrent running
jobs (by default; with manual "Enqueue"/"Resume"/"Suspend", parameter can
be workarounded).

Attached patch only sets "Stopped" state if another job is already
running, and starts automatically (switch form "Stopped" to "Running"
state) a job which is "Stopped".

--
Ticket URL: <www.midnight-commander.org/ticket/2240>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center

Ticket System

unread,
Jun 14, 2010, 6:31:05 PM6/14/10
to danilo....@gmail.com, mc-...@googlegroups.com
#2240: Background jobs queue (aka: file copy queue)
-----------------------------+----------------------------------------------
Reporter: danilo.schembri | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.8
Component: mc-core | Version: 4.7.0-pre3
Severity: no branch | Resolution:
Keywords: | Votes:
Blocking: | Blockedby:
-----------------------------+----------------------------------------------

Comment(by danilo.schembri):

For Gentoo GNU/Linux user, I add ebuil for portage.

--
Ticket URL: <www.midnight-commander.org/ticket/2240#comment:1>

Ticket System

unread,
Jun 15, 2010, 4:45:17 AM6/15/10
to danilo....@gmail.com, mc-...@googlegroups.com
#2240: Background jobs queue (aka: file copy queue)
-----------------------------+----------------------------------------------
Reporter: danilo.schembri | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.8
Component: mc-core | Version: 4.7.0-pre3
Severity: no branch | Resolution:
Keywords: | Votes:
Blocking: | Blockedby:
-----------------------------+----------------------------------------------

Comment(by zyv):

Can you update your patch to the latest master?

--
Ticket URL: <www.midnight-commander.org/ticket/2240#comment:2>

Ticket System

unread,
Jun 15, 2010, 5:00:40 AM6/15/10
to danilo....@gmail.com, mc-...@googlegroups.com
#2240: Background jobs queue (aka: file copy queue)
-----------------------------+----------------------------------------------
Reporter: danilo.schembri | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.8
Component: mc-core | Version: 4.7.0-pre3
Severity: no branch | Resolution:
Keywords: | Votes:
Blocking: | Blockedby:
-----------------------------+----------------------------------------------

Comment(by danilo.schembri):

Of course I can.
I'll do it ASAP.

--
Ticket URL: <www.midnight-commander.org/ticket/2240#comment:3>

Ticket System

unread,
Jun 15, 2010, 5:08:38 AM6/15/10
to danilo....@gmail.com, mc-...@googlegroups.com
#2240: Background jobs queue (aka: file copy queue)
-----------------------------+----------------------------------------------
Reporter: danilo.schembri | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.8
Component: mc-core | Version: 4.7.0-pre3
Severity: no branch | Resolution:
Keywords: | Votes:
Blocking: | Blockedby:
-----------------------------+----------------------------------------------

Comment(by andrew_b):

Pleas use {{{diff -u}}} to create patches.
Please don't use "//" comments.

--
Ticket URL: <www.midnight-commander.org/ticket/2240#comment:4>

Ticket System

unread,
Jun 15, 2010, 6:58:54 AM6/15/10
to danilo....@gmail.com, mc-...@googlegroups.com
#2240: Background jobs queue (aka: file copy queue)
-----------------------------+----------------------------------------------
Reporter: danilo.schembri | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.8
Component: mc-core | Version: 4.7.0-pre3
Severity: no branch | Resolution:
Keywords: | Votes:
Blocking: | Blockedby:
-----------------------------+----------------------------------------------

Comment(by zyv):

Recommended settings: diff -Naur a b > c.patch .

--
Ticket URL: <www.midnight-commander.org/ticket/2240#comment:5>

Ticket System

unread,
Oct 31, 2010, 8:32:48 PM10/31/10
to danilo....@gmail.com, mc-...@googlegroups.com
#2240: Background jobs queue (aka: file copy queue)
-----------------------------+----------------------------------------------
Reporter: danilo.schembri | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.8
Component: mc-core | Version: 4.7.0-pre3
Severity: no branch | Resolution:
Keywords: | Votes:
Blocking: | Blockedby:
-----------------------------+----------------------------------------------

Comment(by danilo.schembri):

Hi,
I made file copy queue patch for stable version (4.7.0.9).

Please, let me know your suggestions.

--
Ticket URL: <www.midnight-commander.org/ticket/2240#comment:6>

Ticket System

unread,
Oct 31, 2010, 9:03:57 PM10/31/10
to danilo....@gmail.com, mc-...@googlegroups.com
#2240: Background jobs queue (aka: file copy queue)
-----------------------------+----------------------------------------------
Reporter: danilo.schembri | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.8
Component: mc-core | Version: master
Severity: no branch | Resolution:
Keywords: | Votes:
Blocking: | Blockedby:
-----------------------------+----------------------------------------------
Changes (by danilo.schembri):

* version: 4.7.0-pre3 => master


Comment:

...and for 4.7.4 version, which seems to be equal to latest master.

--
Ticket URL: <www.midnight-commander.org/ticket/2240#comment:7>

Reply all
Reply to author
Forward
0 new messages