Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@rednafi rednafi released this 18 Mar 00:56
· 4 commits to main since this release
  • The CLI will now list the forked repositories that will and will not be deleted:

    fork-sweeper --owner rednafi --token $GITHUB_TOKEN --older-than-days 0

    This returns:

    Fetching forked repositories for rednafi...
    
    Guarded forked repos [won't be deleted]:
    
    Unguarded forked repos [will be deleted]:
        - https://github.com/rednafi/cpython
        - https://github.com/rednafi/dysconfig
        - https://github.com/rednafi/pydantic
  • Explicitly filter out forked repositories with fuzzy name matching:

    fork-sweeper --owner "rednafi" --token $GITHUB_TOKEN --older-than-days 0 --guard 'py'

    This prints:

      Fetching forked repositories for rednafi...
    
      Guarded forked repos [won't be deleted]:
          - https://github.com/rednafi/cpython
          - https://github.com/rednafi/pydantic
    
      Unguarded forked repos [will be deleted]:
          - https://github.com/rednafi/dysconfig