Task #928
closedFormatting code in tickets' description
100%
Description
Please, provide a way to gracefully format code in tickets' description and comments.
Related issues
Updated by Luca Frosini over 9 years ago
- Tracker changed from Feature to Task
- Project changed from 2 to D4Science Infrastructure
- Category changed from Other to System Application
- Target version changed from 143 to Redmine management
- Infrastructure Production added
Updated by Luca Frosini over 9 years ago
- Due date changed from Oct 30, 2015 to Nov 30, 2015
Updated by Luca Frosini over 9 years ago
- Related to Task #1475: Please Move http://paste.research-infrastructures.eu/ to http://paste.d4science.org/ added
Updated by Luca Frosini over 9 years ago
Investigating the issue we have thought that we should use paste for code or exception
http://paste.research-infrastructures.eu/
I have also create the ticket #928 to move that url in http://paste.d4science.org/
Updated by Luca Frosini over 9 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 100
Updated by Luca Frosini over 9 years ago
- Status changed from In Progress to Feedback
Updated by Andrea Dell'Amico over 9 years ago
There is also a pastebin-like plugin for redmine. Maybe it's a better choice, as it's integrated with the platform? See https://github.com/commandprompt/redmine_pastebin It's old, but it does not need to to anything new. It's based on the 'coderay' library, all the logic is inside it: http://coderay.rubychan.de
Updated by Luca Frosini over 9 years ago
- Status changed from Feedback to In Progress
- % Done changed from 100 to 50
This sounds good. Can you install it? I updated the google sheet we use to keep track of plugins.
The needs to move the url of paste is valid as well, even if is not so urgent.
Updated by Fabio Sinibaldi over 9 years ago
Are we sure we want to use paste service?
In my understanding it only holds pasted code for a restricted amount of time, making the details in the ticket unreadable after that period.
Correct me if I'm wrong.
Updated by Andrea Dell'Amico over 9 years ago
- Infrastructure Development added
The public services, yes. The redmine plugin, I do not know yet. I'm going to install it on the test redmine instance to see if it fits with our needs.
Updated by Andrea Dell'Amico over 9 years ago
I confirm that it's possible to configure pastes to never expire. See http://redmine-d.d4science.org/projects/d4science/pastes/new
Updated by Luca Frosini over 9 years ago
Just for clarification to @fabio.sinibaldi@isti.cnr.it The link provided by @andrea.dellamico@isti.cnr.it is from a redmine test installation.
@fabio.sinibaldi@isti.cnr.it even with this plugin is not possible to paste the code directly inside the description or comment, but at least you don't have to change website, look and feel and furthermore the paste does not expire if you want, as required from the ticket.
I think we can proceed to install it on production. When available I'll advise developers using VREs.
Updated by Andrea Dell'Amico over 9 years ago
- Status changed from In Progress to Feedback
- % Done changed from 50 to 100
Installed.
The module needs to be explicitly activated on each project: Settings -> Modules -> Pastes
where we want it.
Updated by Fabio Sinibaldi over 9 years ago
@andrea.dellamico@isti.cnr.it I can't access the provided link http://redmine-d.d4science.org/projects/d4science/pastes/new for authorization rules. Just a quick question : is the "permanent" option available per pasted code or is it possible to configure it to always keep the pasted code? We need to be sure that we don't lose information, so if it's an option that everybody should set, at least we should set it to "permanent" as default.
Updated by Andrea Dell'Amico over 9 years ago
Fabio Sinibaldi wrote:
@andrea.dellamico@isti.cnr.it I can't access the provided link http://redmine-d.d4science.org/projects/d4science/pastes/new for authorization rules. Just a quick question : is the "permanent" option available per pasted code or is it possible to configure it to always keep the pasted code? We need to be sure that we don't lose information, so if it's an option that everybody should set, at least we should set it to "permanent" as default.
It's per paste, but permanent is the default.
Updated by Luca Frosini over 9 years ago
- Status changed from Feedback to Closed
Activated in all projects.