Bug 35682 - Provide ability to specify color in DB upgrades
Summary: Provide ability to specify color in DB upgrades
Status: RESOLVED DUPLICATE of bug 35681
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-02 15:55 UTC by Pedro Amorim
Modified: 2024-01-03 10:31 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 35682: [TEST ONLY]: This is a dummy dbrev to force an update (2.75 KB, patch)
2024-01-02 16:01 UTC, Pedro Amorim
Details | Diff | Splinter Review
Bug 35682: WIP Attemp to move colors from terminal into nice HTML (2.13 KB, patch)
2024-01-02 16:01 UTC, Pedro Amorim
Details | Diff | Splinter Review
Bug 35682: WIP Attemp to move colors from terminal into nice HTML (2.10 KB, patch)
2024-01-02 16:04 UTC, Pedro Amorim
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Amorim 2024-01-02 15:55:28 UTC

    
Comment 1 Pedro Amorim 2024-01-02 16:01:44 UTC
Created attachment 160409 [details] [review]
Bug 35682: [TEST ONLY]: This is a dummy dbrev to force an update
Comment 2 Pedro Amorim 2024-01-02 16:01:47 UTC
Created attachment 160410 [details] [review]
Bug 35682: WIP Attemp to move colors from terminal into nice HTML

You need to manually set version in Koha.pm to something before the test dbrev here.
Version systempreference also needs to match the above (no action needed if testing for the first time)
Comment 3 Pedro Amorim 2024-01-02 16:04:11 UTC
Created attachment 160411 [details] [review]
Bug 35682: WIP Attemp to move colors from terminal into nice HTML

You need to manually set version in Koha.pm to something before the test dbrev here.
Version systempreference also needs to match the above (no action needed if testing for the first time)
Comment 4 Martin Renvoize 2024-01-03 09:41:06 UTC
I did my own version of this in bug 35681.. The main differences are: I use HTML::FromANSI::Tiny as I felt it more recently maintained and simpler (Neither module is packaged :( ) and I put the manipulations into the controller as aposed to the low level attempt here.. the reason for that is to prevent munging of the data for command line outputs.
Comment 5 Pedro Amorim 2024-01-03 10:31:48 UTC

*** This bug has been marked as a duplicate of bug 35681 ***