Vincent Batts
e568e983bc
neat. script handles -o OUTPUT, and generating binary payload output
2012-11-12 16:10:59 -05:00
Vincent Batts
2868f7d4c0
documenting the script, and cleaning up a little
2012-11-12 15:49:12 -05:00
Vincent Batts
9f5054d2a3
moving the shell functions into a jruby script
2012-11-12 14:26:08 -05:00
Vincent Batts
de9f279ed4
fixing the PathNode.includes()
2012-11-09 16:26:43 -05:00
Vincent Batts
8f57255c06
correcting the maven manifest, for the package name
2012-11-09 13:01:46 -05:00
Vincent Batts
8374c7c97c
test to ensure the generated payload is not larger
2012-11-09 12:54:09 -05:00
Vincent Batts
f809735ad3
qualifying comment
2012-11-08 16:52:39 -05:00
Vincent Batts
8e5f856c09
this method makes more sense to be in HuffNode
2012-11-08 14:21:05 -05:00
Vincent Batts
a2c7846134
simple comment in the test.
2012-11-08 14:12:16 -05:00
Vincent Batts
cf6fa76d5e
* moving HuffNode search, into the HuffNode class
...
* documenting the PathNode class
* trying to track down the empty stringbuffer on twice called PathTree.setContentSets
* cleaned up the unit test helper (TestHelpers)
2012-11-08 14:06:20 -05:00
Vincent Batts
2deb763c1c
adding a README
2012-11-08 10:23:06 -05:00
Vincent Batts
348bf9d377
cleanup, and consolidation
2012-11-08 10:15:20 -05:00
Vincent Batts
21730d6942
closing in:
...
* bonding the PathNode and NodePair more closely together.
* NO LONGER USING THE condensePathNodes logic
* moar unit test to ensure the logic can go there, and back again
* cleanup of multiline ternary statements
2012-11-08 09:14:43 -05:00
Vincent Batts
5e76776e74
dup the stringbuffer when rendering the root pathnode
2012-11-07 09:48:19 -05:00
Vincent Batts
49c606be4d
Moar progress!
...
* adding logging, at least for a minute
* working through the PathTree.validate(path) logic
* BUG: in the populate tree path, calling a stringbuffer charAt(0)
* moar unit testing to iron things out.
2012-11-07 09:36:22 -05:00
Vincent Batts
d12655d4db
more unit tests for payload -> content sets and back
...
pinned the bug down to the PathTree.condenseSubTreeNodes()
2012-11-02 15:59:19 -04:00
Vincent Batts
37a33c5545
debugging output in the unit test
2012-11-02 11:12:01 -04:00
Vincent Batts
c9081b41b5
testing the big test: there and back again!
2012-11-02 10:56:48 -04:00
Vincent Batts
b36fddf91d
moving around the test data files, for unit testing
2012-11-02 09:50:51 -04:00
Vincent Batts
4dbdeb4916
working on the PathNode includes() logic, and moar documentation and
...
unit testing
2012-11-01 17:14:34 -04:00
Vincent Batts
f06d01718a
moar documentation and unit test
2012-11-01 13:29:33 -04:00
Vincent Batts
90b8b201db
moar unit tests and documentation
2012-11-01 13:16:32 -04:00
Vincent Batts
dcc9c50655
NodeContext tests
2012-10-31 21:46:59 -04:00
Vincent Batts
d40e41de5a
the start of two tests
2012-10-31 16:21:56 -04:00
Vincent Batts
8e413fa985
maven tells me i don't need these exception handlers ...
2012-10-31 14:45:00 -04:00
Vincent Batts
1d13db07c5
getters
2012-10-31 13:17:30 -04:00
Vincent Batts
c053cae590
PathTree should now go from content sets to payload, and vice versa.
2012-10-31 12:44:24 -04:00
Vincent Batts
27fd63294c
The decoding dirty work is in the PathTree class
2012-10-30 14:11:40 -04:00
Vincent Batts
2779cfa63d
documentation and prototyping
2012-10-25 17:01:50 -04:00
Vincent Batts
c07d6ab172
cleaning up the things that are exclusive to a cli interface.
...
Preparing to dig into Util and hydrate-fu
2012-10-25 16:18:42 -04:00
Vincent Batts
e0692ae64f
removing unused imports
2012-10-25 10:59:32 -04:00
Vincent Batts
3fe0da753c
JUMPING CATS! CONTENT SETS!
2012-10-25 10:56:28 -04:00
Vincent Batts
162640b552
formatting
2012-10-23 15:58:44 -04:00
Vincent Batts
b07f5a05e8
working along to decode the DEROctetString
2012-10-23 15:18:04 -04:00
Vincent Batts
5a3abc75a1
moving the list copying inside the makeTrie, so the argument object is
...
not destroyed
2012-10-12 12:39:06 -04:00
Vincent Batts
2a9511cbe5
first break off of the hydrate function
2012-10-12 12:29:06 -04:00
Vincent Batts
eb4a4a7bdd
thinking of a class/structure to do the validation of a content set path
2012-10-12 12:28:18 -04:00
Vincent Batts
bcf6b61125
adding the byteProcess() function
2012-10-05 08:50:23 -04:00
Vincent Batts
6741e96c81
adding methods:
...
getStringNodeList()
getPathNodeNodeList()
makeTrie()
findSmallest()
mergeNodes()
hydrateContentPackage()
populatePathNodes()
findHuffNodeValueByBits()
makeURLs()
2012-10-04 16:59:42 -04:00
Vincent Batts
84a6b24305
adding more methods
2012-10-04 16:30:05 -04:00
Vincent Batts
e8a1616eb4
more java-ish
2012-10-04 16:17:54 -04:00
Vincent Batts
20648a5dd3
getting the PathNode context wired together
2012-10-04 16:16:30 -04:00
Vincent Batts
1bb7b1083b
it now prints the pathnode tree, from a file arg
2012-10-04 15:52:35 -04:00
Vincent Batts
68ade68d4e
now it reads a file, to have a List<String> from a file.
2012-10-04 15:43:26 -04:00
Vincent Batts
02eb42c4aa
pretty printing, and start to read in a file of contents sets, to print
...
the tree
2012-10-04 15:32:12 -04:00
Vincent Batts
50c5215717
playing with javadoc options
2012-10-04 15:15:19 -04:00
Vincent Batts
a8dbc26260
target to generate javadoc
2012-10-04 15:01:15 -04:00
Vincent Batts
5a202c097e
starting the trie utility that can contruct trie from paths
2012-10-04 14:35:31 -04:00
Vincent Batts
9520047496
commit 595f08259cfd44f1a6faf1a169735f6f452904ce
...
Refs: candlepin-0.7.10-1-1-g595f082
Author: James Bowes <jbowes@redhat.com>
AuthorDate: Wed Sep 19 17:22:36 2012 -0300
Commit: James Bowes <jbowes@redhat.com>
CommitDate: Wed Sep 19 17:22:36 2012 -0300
certv3: sort path names alphabetically
By sorting the child paths of a node alphabetically, clients can do a
binary search for the node they want, rather than having to iterate over
all children.
2012-10-04 10:31:46 -04:00
Vincent Batts
721355396c
adding an executable aspect to the jar
2012-10-04 09:31:21 -04:00