Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a separater between each module's set of diffs during 'preview changes' during module updates #3239

Open
jfy133 opened this issue Oct 23, 2024 · 1 comment
Assignees

Comments

@jfy133
Copy link
Member

jfy133 commented Oct 23, 2024

Description of feature

When I do a mass update of all modules in pipeline using nf-core modules update, and I preview each change, the output is very hard to read for where one module's diff starts and ends

Image

It would be nice to put either a long separator or marker that spans the whole screen so I can better see where each set of files starts/stops

e.g.

 +          type: file                                                                                                                                                                                  
 +          description: File containing software versions                                                                                                                                              
 +          pattern: "versions.yml"                                                                                                                                                                     
  authors:                                                                                                                                                                                              
    - "@louperelo"                                                                                                                                                                                      
  maintainers:                                                                                                                                                                                          
                                                                                                                                                                                                        
                                                                                                                                                                                                        
INFO     'modules/nf-core/amplify/predict/main.nf' is unchanged                                                                                                                                         
INFO     'modules/nf-core/amplify/predict/tests/main.nf.test' is unchanged                                                                                                                              
INFO     'modules/nf-core/amplify/predict/tests/tags.yml' is unchanged                                                                                                                                  
INFO     'modules/nf-core/amplify/predict/tests/main.nf.test.snap' is unchanged   
##################################################################################################                                                                                                                      
? Update module 'amplify/predict'? Yes 
INFO     Updating 'nf-core/amplify/predict'                                                                                                                                                             
INFO     Changes in module 'nf-core/amrfinderplus/run' between (c0514dfc403fa97c96f549de6abe99f03c78fe8d) and (666652151335353eef2fcd58880bcef5bc2928e1)                                                
INFO     Changes in 'amrfinderplus/run/environment.yml':                                                                                                                                                
                                                                                                                                                                                                        
 --- modules/nf-core/amrfinderplus/run/environment.yml                                                                                                                                                  
 +++ modules/nf-core/amrfinderplus/run/environment.yml                                                                                                                                                  
 @@ -1,7 +1,5 @@                                                                                                                                                                                        
 -name: amrfinderplus_run                                                                                                                                                                               
  channels:                                                                                                                                                                                             
    - conda-forge                                                                                                                                                                                       
    - bioconda                                                                                                                                                                                          
 -  - defaults                                                                                                                                                                                          
  dependencies:                                                                                                                                                                                         
    - bioconda::ncbi-amrfinderplus=3.12.8                                                                                                                                                               
                                                                                                                                                                                                        
                                                                                                                                                                                                        
INFO     Changes in 'amrfinderplus/run/meta.yml':                                                                                                                                                       
                                                                                                                                                                                                        
 --- modules/nf-core/amrfinderplus/run/meta.yml                              
@mashehu mashehu self-assigned this Oct 24, 2024
@mashehu
Copy link
Contributor

mashehu commented Oct 24, 2024

how about this way?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants