Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Pantheon:Branch
pantheon-mutter
100-source-cleanup.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 100-source-cleanup.sh of Package pantheon-mutter
#!/bin/sh # ## These changes apply to the following packages: pantheon-desktop ## pantheon-desktop-schemas pantheon-mutter pantheon-session pantheon-settings-daemon ## for pkg in $(osc ls PROJECT); do if osc ls PROJECT/$pkg/100-source-cleanup.sh 1>/dev/null; then osc branch -c PROJECT/$pkg; fi; done ## cd BRANCH/PACKAGE-WITH-CHANGES ## for pkg in ../*; do if [ -f "$pkg/100-source-cleanup.sh" ]; then cp -f 100-source-cleanup.sh $pkg; fi; done # set -e # Change URLs ## Switch to bugs.opensuse.org sed -re '/(\#|\*|\\|]|>[^>]*<|\bschema\b|opensuse)/!s#(bug.*)http.*gnome.*("'"|'"')#\1https://bugs.opensuse.org\2#i' \ -re '/(\#|\*|\\|>[^>]*<|\bschema\b|opensuse)/!s#(bug.*)http.*gnome.*(])#\1https://bugs.opensuse.org\2#i' \ -re '/(\#|\*|>[^>]*<|\bschema\b|opensuse)/!s#(bug.*)http.*gnome.*(\\)#\1https://bugs.opensuse.org\2#i' \ -re '/(\#|\*|\\|]|\bschema\b|opensuse)/!s#(bug.*>)http.*gnome.*(<)#\1https://bugs.opensuse.org\2#i' \ -re '/(\#|\*|\bschema\b|opensuse)/!s#(bug.*)http.*gnome.*(.)#\1https://bugs.opensuse.org\2#i' \ -i $(grep -rli 'bug.*http.*gnome' | grep -Ev 'docs\/') || : ## ## Switch to build.opensuse.org sed -re '/(\#|\*|\\|]|>[^>]*<|bugzilla|\bschema\b|opensuse)/!s#(.)http.*gnome.*("'"|'"')#\1https://build.opensuse.org\2#i' \ -re '/(\#|\*|\\|>[^>]*<|bugzilla|\bschema\b|opensuse)/!s#(.)http.*gnome.*(])#\1https://build.opensuse.org\2#i' \ -re '/(\#|\*|>[^>]*<|bugzilla|\bschema\b|opensuse)/!s#(.)http.*gnome.*(\\)#\1https://build.opensuse.org\2#i' \ -re '/(\#|\*|\\|]|bugzilla|\bschema\b|opensuse)/!s#(>)http.*gnome.*(<)#\1https://build.opensuse.org\2#i' \ -re '/(\#|\*|bugzilla|\bschema\b|opensuse)/!s#( )http.*gnome.*([^ ]*$)#\1https://build.opensuse.org\2#i'\ -i $(grep -rli 'http.*gnome' | grep -Ev 'docs\/') || : ## # # Check code after changes ## Show URLs from gnome # grep -r http.*gnome | grep -Ev 'po\/|docs\/' | grep http.*gnome ## #
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor