Code Monkey home page Code Monkey logo

misc_scripts's People

Contributors

dependabot[bot] avatar farseerfc avatar lilydjwg avatar shadowrz avatar zsrkmyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

misc_scripts's Issues

webhook 支持更新

在 issue 内容更新之后尝试更新标签和处理人(失败则忽略)。

同时支持 * [x] 式列表。

handle orphaned packages that are still used

Things to do when the package being orphaned is dependent:

  • update lilac.yaml schema
  • on issue submission mention all maintainers of dependent packages
  • on expiration remove maintainers from the package
  • on packaging errors send reports to dependent packages maintainers
  • daily check if there are packages without maintainers not required any more, and delete them if so
  • on new issue comment about unmaintained packages

From archlinuxcn/repo#1676 (comment).

repo_cleaner并入lilac

如题,主要是为了干掉package.list,既然lilac已经load mod了,就一并干了这事得了。

另外lilac.py中的packages参数和package.list含义重叠,可以合并成一个

who_depends_this_lib crashes with PermissionError

On build.archlinuxcn.org, run the following command as a normal user (e.g., yan12125):

LC_ALL=C PYTHONPATH=./winterpy/pylib ./who_depends_this_lib /data/repo/x86_64/archlinuxcn.files libicu

And the result is: (excerpted)

[I 10-30 14:33:49.244 who_depends_this_lib:47] extracting /data/repo/x86_64/vmware-workstation-15.0.0-2-x86_64.pkg.tar.xz...
[I 10-30 14:34:07.158 who_depends_this_lib:54] checking...
[W 10-30 14:34:07.246 who_depends_this_lib:58] /data/repo/x86_64/vmware-workstation-15.0.0-2-x86_64.pkg.tar.xz depends on libicudata.so.58: usr/lib/vmware-ovftool/libicuuc.so.58
Traceback (most recent call last):
  File "./who_depends_this_lib", line 117, in <module>
    main(args.pkgdb, re.compile(args.libname))
  File "./who_depends_this_lib", line 96, in main
    r, lib = check_package(os.path.join(dir, filename), lib_re)
  File "./who_depends_this_lib", line 59, in check_package
    return r, lib
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "./who_depends_this_lib", line 50, in extract_package
    yield d
  File "/usr/lib/python3.7/tempfile.py", line 805, in __exit__
    self.cleanup()
  File "/usr/lib/python3.7/tempfile.py", line 809, in cleanup
    _shutil.rmtree(self.name)
  File "/usr/lib/python3.7/shutil.py", line 485, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib/python3.7/shutil.py", line 423, in _rmtree_safe_fd
    _rmtree_safe_fd(dirfd, fullname, onerror)
  File "/usr/lib/python3.7/shutil.py", line 423, in _rmtree_safe_fd
    _rmtree_safe_fd(dirfd, fullname, onerror)
  File "/usr/lib/python3.7/shutil.py", line 423, in _rmtree_safe_fd
    _rmtree_safe_fd(dirfd, fullname, onerror)
  File "/usr/lib/python3.7/shutil.py", line 443, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib/python3.7/shutil.py", line 441, in _rmtree_safe_fd
    os.unlink(entry.name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: 'hostd.ssl.config'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.