3 ms·
I automated my bugzilla integration. As a software maintainer, people sends Bugzilla entry in all different forms: Full link, only numbers, BZ<number>, BZ#<Num
by danilocesar 8y ago
I automated my bugzilla integration.
As a software maintainer, people sends Bugzilla entry in all different forms: Full link, only numbers, BZ<number>, BZ#<Number>.
Of the last tree options, I need to open an random bugzilla link, remove the ID and replace with the sent number. It's like 10 seconds work, but I have to do it 20~40 times a day.
Nowadays, I mouse-select some numbers and press CTRL+B. A 10-lines-python-script is called from gnome. It uses xsel to see what do I have selected and, if it looks like a BZ, it opens firefox will the full link for me.
It's ridiculous simple, but it's a time/sanity saver for me.