Roundup Tracker - Issues

Issue 2550833

classification
Title: Enhancing the functionality of the CSV export function 'export_csv_names'
Type: rfe Severity: normal
Components: Web interface, User Interface Versions: 1.5
process
Status: new Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: anrounham14, ber, rouilj, tekberg
Priority: Keywords: patch

Created on 2014-03-09 18:28 by anrounham14, last changed 2016-07-11 14:07 by tekberg.

Files
File name Uploaded Description Edit Remove
ExportCSVNamesAction.py anrounham14, 2014-03-09 18:28
unnamed anrounham14, 2014-03-13 18:24
ExportCSVNamesAction-andreas-new.py tekberg, 2014-03-13 20:17 Changes I made to Andreas' version.
unnamed anrounham14, 2016-07-10 10:09
Messages
msg5003 Author: [hidden] (anrounham14) Date: 2014-03-09 18:28
The current 'export_csv_names' is very basic. Inspired by the extension
'ExportCSVNames' I have update this functionality a little bit further.
So complex data types are rendered in a more human readable format, i.e.
Mulitlink, Link and Date are rendered in a better string representation.

For example for users the realname and not the id is rendered. The date
string is either only a date (if hour and minute are both zero) or date
plus hour and minutes, a multilink becomes a string of values separated
by ';'. The code is not really beautiful but should serve as a
specification on what should be added to make the CSV export more useful
to my understanding. The function as an extension is added to this issue.
msg5021 Author: [hidden] (ber) Date: 2014-03-13 07:55
Hi Andreas,
thanks for the contribution!

Did you see that Tom also did an improved version of this extension in 
issue2550792 ?

What about we get a unified one and you or Tom tests the other 
changes. I am happy to commit the improvements then. 

Best Regards,
Bernhard
msg5028 Author: [hidden] (tekberg) Date: 2014-03-13 16:20
I like Andreas's version better as a base and I'm in the process of 
making changes. I'll post it here when have finished. Perhaps Andreas can 
comment on my changes.
msg5029 Author: [hidden] (anrounham14) Date: 2014-03-13 18:24
On Thursday 13 March 2014 16:20:39 Tom Ekberg wrote:
> Tom Ekberg added the comment:
> 
> I like Andreas's version better as a base and I'm in the process of
> making changes. I'll post it here when have finished. Perhaps Andreas 
can
> comment on my changes.

@Tom: It is nice that you like the additions I made. I will try to do my best to 
provide feedback. But don't expect too much on the Python part, I am no 
more than an advanced beginner.

@Bernhard: Yes, I had a look at the version issue2550792 and commented 
on it in the mailing list roundup-users@lists.sourceforge.net.

> 
> ________________________________________________
> Roundup tracker <issues@roundup-tracker.org>
> <http://issues.roundup-tracker.org/issue2550833>
> ________________________________________________
msg5030 Author: [hidden] (tekberg) Date: 2014-03-13 20:17
Here is another version with some slight changes.

Any comments are welcome.

This doesn't work for my custom object - it outputs ids for everything :-
( but it does work for the issue object. I have other higher priority 
projects to work on but I thought I'd at least put my updated version 
out.
msg5031 Author: [hidden] (ber) Date: 2014-03-14 08:08
Tom, Andreas!

On Thursday 13 March 2014 16:20:39 Tom Ekberg wrote:
> I like Andreas's version better as a base and I'm in the process of
> making changes. I'll post it here when have finished. 

Maybe we can close issue2550792 in favour of this one, then. 

Another idea: I see that sf now has a "clone your own copy" version.
Maybe you could try this and jointly develop the extension until is it 
ready. :)

> @Bernhard: Yes, I had a look at the version issue2550792 and commented
> on it in the mailing list roundup-users@lists.sourceforge.net.

Thanks for doing so. Sometimes I read the devel mailinglist before
the users list. 

Best,
Bernhard
msg5034 Author: [hidden] (tekberg) Date: 2014-03-14 13:56
OK. I'll bite. What is "clone your own copy"?
msg5035 Author: [hidden] (ber) Date: 2014-03-14 14:22
If you got to http://sourceforge.net/p/roundup/code/ci/default/tree/
ther is a button "fork". I'm a bit uneasy because other forges offer
the ability to "clone" your personaly copy and then do "push requests" to 
the master.
msg5795 Author: [hidden] (rouilj) Date: 2016-07-09 20:55
Tom or Andreas:

Have you guys done any more with this?

I think replacing the classic tracker's export CSV with this one
would be a suitable patch.

Have either of you looked at:

http://www.roundup-tracker.org/cgi-bin/moin.cgi/ExportCSVNames_Extended

that was uploaded June 2016. Maybe it handles Tom's issues with his
custom object?
msg5796 Author: [hidden] (rouilj) Date: 2016-07-09 21:01
Hmm, except for some logging removal the version on the wiki seems
the same as file1532 - andreas-new attached here.
msg5807 Author: [hidden] (anrounham14) Date: 2016-07-10 10:09
Hello John,

I didn't get around to look into the roundup repository and how to add something to it. Neither did I do any further updates. I only added the CSV export script to the wiki since I didn't know how to propose it as a patch. It might not be also the most beautiful Python code since I am doing Python programming only once in a while.

Hope this explains matters better,
Andreas

On Saturday, July 09, 2016 08:55:17 PM John Rouillard wrote:
> 
> John Rouillard added the comment:
> 
> Tom or Andreas:
> 
> Have you guys done any more with this?
> 
> I think replacing the classic tracker's export CSV with this one
> would be a suitable patch.
> 
> Have either of you looked at:
> 
> http://www.roundup-tracker.org/cgi-bin/moin.cgi/ExportCSVNames_Extended
> 
> that was uploaded June 2016. Maybe it handles Tom's issues with his
> custom object?
> 
> ----------
> nosy: +rouilj
> 
> ________________________________________________
> Roundup tracker <issues@roundup-tracker.org>
> <http://issues.roundup-tracker.org/issue2550833>
> ________________________________________________
msg5835 Author: [hidden] (tekberg) Date: 2016-07-11 14:07
I haven't done any more this this.

>> Maybe it handles Tom's issues with his custom object?

I don't remember what custom object I was having trouble with, so 
obviously it isn't a big deal now.
History
Date User Action Args
2016-07-11 14:07:31tekbergsetmessages: + msg5835
2016-07-10 10:09:03anrounham14setfiles: + unnamed
messages: + msg5807
2016-07-09 21:01:28rouiljsettype: behavior -> rfe
2016-07-09 21:01:14rouiljsetmessages: + msg5796
2016-07-09 20:55:17rouiljsetnosy: + rouilj
messages: + msg5795
2014-03-14 14:22:31bersetmessages: + msg5035
2014-03-14 14:01:49berlinkissue2550792 superseder
2014-03-14 13:56:37tekbergsetmessages: + msg5034
2014-03-14 08:08:03bersetmessages: + msg5031
2014-03-13 20:17:42tekbergsetfiles: + ExportCSVNamesAction-andreas-new.py
messages: + msg5030
2014-03-13 18:24:27anrounham14setfiles: + unnamed
messages: + msg5029
2014-03-13 16:20:39tekbergsetmessages: + msg5028
2014-03-13 07:55:48bersetkeywords: + patch
nosy: + ber, tekberg
messages: + msg5021
2014-03-09 18:28:32anrounham14create