This reverts commit76033c983e. Revert "Bug 2006716 - Add `ruff-format` linter r=ahal,linter-reviewers" This reverts commit19fd8c23ca. Revert "Bug 2006716 - Remove `black` linter r=ahal,linter-reviewers" This reverts commit0b01c783a6. Revert "Bug 2006716 - Fix `ruff` linter `stderr` callback broken in D190696 r=ahal,linter-reviewers" This reverts commit72cab75517. Revert "Bug 2006716 - Update `ruff` to version `0.14.9` and use consistent versions in `lint.txt` and `python-test.txt` r=ahal,linter-reviewers" This reverts commita434d066ce. Revert "Bug 2006716 - Reformat entire repo with `ruff-format` (`black` replacement) r=ahal,sylvestre,linter-reviewers,perftest-reviewers,mozperftest-reviewers,geckoview-reviewers,extension-reviewers,media-playback-reviewers,webrtc-reviewers,releng-reviewers,sessionstore-reviewers,win-reviewers,dom-storage-reviewers,translations-reviewers,omc-reviewers,android-reviewers,home-newtab-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,layout-reviewers,dom-worker-reviewers,geckodriver-reviewers,Sasha,emz,fchasen,sthompson,dholbert,sparky,padenot,emilio,Gijs,mconley,tcampbell,mjf,emcminn,willdurand,gstoll,jgraham,asuth" This reverts commit3ed06912eb.
27 lines
899 B
Python
Executable File
27 lines
899 B
Python
Executable File
#!/usr/bin/env python
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
""" This script is an example of why I care so much about Mozharness' 2nd core
|
|
concept, logging. http://escapewindow.dreamwidth.org/230853.html
|
|
"""
|
|
|
|
import os
|
|
import shutil
|
|
|
|
# print "downloading foo.tar.bz2..."
|
|
os.system("curl -s -o foo.tar.bz2 http://people.mozilla.org/~asasaki/foo.tar.bz2")
|
|
# os.system("curl -v -o foo.tar.bz2 http://people.mozilla.org/~asasaki/foo.tar.bz2")
|
|
|
|
# os.rename("foo.tar.bz2", "foo3.tar.bz2")
|
|
os.system("tar xjf foo.tar.bz2")
|
|
|
|
# os.chdir("x")
|
|
os.remove("x/ship2")
|
|
os.remove("foo.tar.bz2")
|
|
os.system("tar cjf foo.tar.bz2 x")
|
|
shutil.rmtree("x")
|
|
# os.system("scp -q foo.tar.bz2 people.mozilla.org:public_html/foo2.tar.bz2")
|
|
os.remove("foo.tar.bz2")
|