mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
add license declaration to each file
This commit is contained in:
parent
1998238594
commit
8e2be647e0
51 changed files with 147 additions and 1 deletions
|
@ -1 +1,4 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
__version__ = '0.4.4dev'
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# vim: se sw=2:
|
||||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
'''
|
||||
调用 libnotify
|
||||
'''
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
import logging
|
||||
import argparse
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from functools import partial
|
||||
import json
|
||||
import logging
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
import queue
|
||||
import logging
|
||||
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
|
||||
|
||||
# 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
|
||||
|
|
|
@ -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'))
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
import logging
|
||||
from functools import partial
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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'''
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# MIT licensed
|
||||
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import pytest
|
||||
|
|
Loading…
Add table
Reference in a new issue