Permalink
Browse files

add license declaration to each file

  • Loading branch information...
lilydjwg committed Feb 28, 2017
1 parent 1998238 commit 8e2be647e04fa011269674335e061bc03d88c7ce
Showing with 147 additions and 1 deletion.
  1. +3 −0 nvchecker/__init__.py
  2. +2 −0 nvchecker/core.py
  3. +3 −0 nvchecker/get_version.py
  4. +3 −0 nvchecker/lib/nicelogger.py
  5. +3 −0 nvchecker/lib/notify.py
  6. +2 −0 nvchecker/main.py
  7. +3 −0 nvchecker/sortversion.py
  8. +3 −0 nvchecker/source/__init__.py
  9. +3 −0 nvchecker/source/archpkg.py
  10. +3 −0 nvchecker/source/aur.py
  11. +3 −0 nvchecker/source/base.py
  12. +3 −0 nvchecker/source/bitbucket.py
  13. +3 −0 nvchecker/source/cmd.py
  14. +3 −0 nvchecker/source/cpan.py
  15. +3 −0 nvchecker/source/cratesio.py
  16. +3 −0 nvchecker/source/gcode_hg.py
  17. +3 −0 nvchecker/source/gcode_svn.py
  18. +3 −0 nvchecker/source/gems.py
  19. +3 −0 nvchecker/source/github.py
  20. +3 −0 nvchecker/source/gitlab.py
  21. +3 −0 nvchecker/source/hackage.py
  22. +3 −0 nvchecker/source/manual.py
  23. +3 −0 nvchecker/source/npm.py
  24. +3 −0 nvchecker/source/packagist.py
  25. +3 −0 nvchecker/source/pacman.py
  26. +3 −0 nvchecker/source/pypi.py
  27. +3 −0 nvchecker/source/regex.py
  28. +3 −0 nvchecker/source/simple_json.py
  29. +3 −0 nvchecker/source/vcs.py
  30. +2 −0 nvchecker/tools.py
  31. +2 −0 scripts/arch_repopkg_unmonitored
  32. +2 −0 scripts/gen_contents
  33. +2 −0 scripts/maintained_in_aur
  34. +3 −0 tests/helper.py
  35. +3 −0 tests/test_archpkg.py
  36. +3 −0 tests/test_aur.py
  37. +3 −1 tests/test_bitbucket.py
  38. +3 −0 tests/test_cmd.py
  39. +3 −0 tests/test_cpan.py
  40. +3 −0 tests/test_cratesio.py
  41. +3 −0 tests/test_gems.py
  42. +3 −0 tests/test_github.py
  43. +3 −0 tests/test_gitlab.py
  44. +3 −0 tests/test_hackage.py
  45. +3 −0 tests/test_manual.py
  46. +3 −0 tests/test_npm.py
  47. +3 −0 tests/test_packagist.py
  48. +3 −0 tests/test_pacman.py
  49. +3 −0 tests/test_pypi.py
  50. +3 −0 tests/test_regex.py
  51. +3 −0 tests/test_vcs.py
View
@@ -1 +1,4 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
__version__ = '0.4.4dev'
View
@@ -1,4 +1,6 @@
# vim: se sw=2:
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import os
import sys
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import logging
from importlib import import_module
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
'''
A Tornado-inspired logging formatter, with displayed time with millisecond accuracy
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
'''
调用 libnotify
'''
View
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import logging
import argparse
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
'''
Sort versions using pkg_resource.parse_version or pyalpm.vercmp
'''
@@ -1 +1,4 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from .base import *
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from functools import partial
import logging
import json
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from functools import partial
import json
import logging
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tornado.httpclient import AsyncHTTPClient
try:
import pycurl
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import os
import json
from functools import partial
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import queue
import logging
from functools import partial
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from .simple_json import simple_json
# Using metacpan
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import os
import json
from functools import partial
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import re
import time
import logging
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import re
import logging
from functools import partial
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from .simple_json import simple_json
GEMS_URL = 'https://rubygems.org/api/v1/versions/%s.json'
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import os
import json
from functools import partial
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import os
import json
from functools import partial
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from .simple_json import simple_json
HACKAGE_URL = 'https://hackage.haskell.org/package/%s/preferred.json'
@@ -1,2 +1,5 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
def get_version(name, conf, callback):
callback(name, conf.get('manual'))
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from .simple_json import simple_json
NPM_URL = 'https://registry.npmjs.org/%s'
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from .simple_json import simple_json
PACKAGIST_URL = 'https://packagist.org/packages/%s.json'
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from . import cmd
def get_version(name, conf, callback):
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from .simple_json import simple_json
PYPI_URL = 'https://pypi.python.org/pypi/%s/json'
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import re
import sre_constants
import logging
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import json
from functools import partial
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import logging
from functools import partial
View
@@ -1,4 +1,6 @@
# vim: se sw=2:
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import sys
import os
@@ -1,4 +1,6 @@
#!/bin/bash -e
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
if [[ $# -ne 2 || ! -r $1 || -z $2 ]]; then
echo >&2 "usage: arch_repopkg_unmonitored config.ini pkg_list or repository_name"
View
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import sys
import re
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
'''show a list of packages maintained by someone in AUR'''
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import configparser
from tornado.ioloop import IOLoop
import tornado.testing
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import os
import pytest
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,5 +1,7 @@
from tests.helper import ExternalVersionTestCase
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
class BitBucketTest(ExternalVersionTestCase):
def test_bitbucket(self):
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import os
import pytest
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import os
import pytest
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import shutil
import pytest
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
View
@@ -1,3 +1,6 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
import os
import shutil
import pytest

0 comments on commit 8e2be64

Please sign in to comment.