Commit Graph

484 Commits

Author SHA1 Message Date
Tim Rühsen ce8e24c509 Merge pull request #56 from SteelPangolin/master
Change src/psl-make-dafsa shebang so it'll run on OS X
2016-09-17 11:46:15 +02:00
Jeremy Ehrhardt 003dec4203 Change src/psl-make-dafsa shebang so it'll run on OS X 2016-09-16 18:42:54 -07:00
Tim Rühsen 0486815dbd Release v0.14.0 2016-07-30 13:53:17 +02:00
Tim Rühsen 23ae4a2ba1 Update PSL submodule 2016-07-30 13:42:46 +02:00
Tim Rühsen 583cf6ae56 Merge pull request #52 from dkg/dafsa-reorg
rename src/make_dafsa.py to src/psl-make-dafsa, add documentation
2016-07-14 12:05:13 +02:00
Daniel Kahn Gillmor dc7bf5bbae rename src/make_dafsa.py to src/psl-make-dafsa, add documentation
I've talked to the good people on #debian-bootstrap who would be most
affected by the possible build-dep cycle, and i think the simplest
approach is actually to split out make_dafsa.py into its own
architecture-independent package.

I'm thinking i'll call the package psl-make-dafsa, and in the course of
shipping it, i'll place src/make_dafsa.py as /usr/bin/psl-make-dafsa.

This is because:

 * debian discourages scripts on the $PATH from having language-specific
   suffixes like .py:

    https://lintian.debian.org/tags/script-with-language-extension.html

 * "-" appears to be a more common delimiter in command names than "_":

    0 dkg@alice:~$ for x in - _; do printf "%s: %d " "$x" $(ls -1 ${PATH//:/ } | grep -c "$x"); done; echo
    -: 1235 _: 368
    0 dkg@alice:~$

 * i'd prefer to prefix the command with "psl-" since it really is
   producing and interpreting PSL-specific data structures.

Accepting this patch would mean i'd have fewer changes to make in the
debian packaging, and would allow other distributors to take a similar
approach if they want to.
2016-07-14 11:55:04 +02:00
Tim Rühsen 8dba092c73 Add magic header to DAFSA binary files 2016-07-13 11:14:18 +02:00
Tim Rühsen 852931571f Fixed invocation of make_dafsa.py in psl2c.c 2016-07-13 11:13:04 +02:00
Tim Rühsen 972cb789dd Update PSL submodule 2016-07-13 10:49:22 +02:00
Tim Rühsen 10fe88b22b Amend formatting of psl man page 2016-07-06 15:32:51 +02:00
Tim Rühsen 45cce63142 Remove auto-generated ABOUT-NLS from git 2016-07-06 15:32:51 +02:00
Daniel Kahn Gillmor a7c2c16585 add a man page 2016-07-06 15:32:51 +02:00
Daniel Kahn Gillmor dc9cc02982 s/publix/public/ 2016-07-06 15:32:51 +02:00
Daniel Kahn Gillmor 248327e4aa use https where possible 2016-07-06 15:32:51 +02:00
Tim Rühsen 514488d9b3 Remove unneeded libraries from tools/psl link step 2016-07-06 13:10:16 +02:00
Tim Rühsen a6ed60e57f Release v0.13.0 2016-03-02 12:25:35 +01:00
Tim Rühsen be9b3fd3f4 Merge remote-tracking branch 'origin/newfmt' into develop 2016-03-02 11:55:17 +01:00
Tim Rühsen f097290c90 Remove python linter
It has been merged into https://github.com/publicsuffix/list
and can be found in list/linter.
2016-03-02 11:45:28 +01:00
Tim Rühsen efdd800cb3 Use tests.txt as PSL test file by default 2016-02-20 23:06:30 +01:00
Tim Rühsen cb3fc3b502 Travis CI only for branches develop and master 2016-02-20 23:05:34 +01:00
Tim Rühsen 4798ee88a2 Add test suite support for list/tests/tests.txt 2016-02-20 15:06:48 +01:00
Tim Rühsen 2914afa8c7 New linter/ dir with pslint.py selftest 2016-02-18 16:40:06 +01:00
Tim Rühsen 811513f17e Print message and exit when no suffixes are found 2016-02-12 12:27:25 +01:00
Tim Rühsen d19c46c003 Make a few enhancements to pslint 2016-02-08 14:11:52 +01:00
Tim Rühsen 36609787d5 Fix python3 UTF-8 runtime error and section detection 2016-02-08 09:40:43 +01:00
Tim Rühsen 568394438d Add disabled code for 'Group Order' checking
The check has been disabled since it turned out that those
'groupings' of PSL entries are not really ordered in the way
(# of labels, TLD, sublabel#1, sublabel#2, ...)

This commit also fixes section detection / verification
2016-02-05 12:16:50 +01:00
Tim Rühsen 0e2da86eeb Update PSL submodule 2016-02-02 22:52:29 +01:00
Tim Rühsen aa028e606b Adjust text in doublette comment in src/pslint.py 2016-02-02 22:49:02 +01:00
Tim Rühsen a46af675b4 Fix indentation multi-line comment in src/pslint.py 2016-02-02 22:41:18 +01:00
Tim Rühsen bd70c79c18 Indent src/pslint.py with tabs 2016-02-02 22:20:58 +01:00
Tim Rühsen 98aed19c3a Convert copyright line to UTF-8 in pslint.py 2016-02-02 19:59:45 +01:00
Tim Rühsen 3ba8903915 Add PSL linter written in Python 2016-02-02 16:43:03 +01:00
Tim Rühsen 8c39291f55 Slightly shorter DAFSA array when sorting input 2016-01-05 10:57:07 +01:00
Tim Rühsen 1bd9347af9 Fix for commit fd928da46e 2016-01-04 22:15:43 +01:00
Tim Rühsen f86094972a Check for python 2.7+ in configure.ac 2016-01-04 20:41:24 +01:00
Tim Rühsen fd928da46e Fix python3 incompatibilities in make_dafsa.py 2016-01-04 20:22:13 +01:00
Tim Rühsen c69a18ff9b Release v0.12.0 2016-01-02 14:38:37 +01:00
Tim Rühsen 5bd2db75d2 Release v0.12.0 2016-01-02 14:25:44 +01:00
Tim Rühsen 95a5152e56 Update copyright year to 2016 2016-01-02 13:36:49 +01:00
Tim Rühsen 96e0848d81 Release unused memory after loading DAFSA data 2016-01-02 13:31:53 +01:00
Tim Rühsen f829668e0d Let autogen.sh work on Solaris and without gtkdocize 2016-01-02 13:01:19 +01:00
Tim Rühsen 9f420e2d91 Add tests against the built-in PSL to test-is-public-all.c 2016-01-01 23:26:44 +01:00
Tim Rühsen 748e3ae9cc Load DAFSA precompiled files (auto-detection) 2016-01-01 22:38:21 +01:00
Tim Rühsen 7a859d11c8 Add PSL_TYPE* defines to docs 2016-01-01 22:35:35 +01:00
Tim Rühsen 5c159a3a09 Add few more tests to test-is-public-builtin.c 2016-01-01 22:34:55 +01:00
Tim Rühsen 1604cb3dca Fix make_dafsa.py to generate 4 bit return values 2016-01-01 22:32:11 +01:00
Tim Rühsen 23345f5f37 Convert lookup_string_in_fixed_set.c into UTF-8 2016-01-01 22:31:01 +01:00
Tim Rühsen c9d76e4898 Remove unused variable source_date_epoch 2016-01-01 17:20:30 +01:00
Tim Rühsen cde5e53ea6 Remove psl_builtin_compile_time() for reproducable builds 2016-01-01 15:44:24 +01:00
Tim Rühsen c699e3c441 Add --input-format and --output-format to make_dafsa.py 2015-12-30 17:52:48 +01:00