Helix SwarmHelix Swarm
Loading...

action

  • //
  • guest/
  • sven_erik_knop/
  • java/
  • JournalReader/
  • src/
  • journal/
  • action
  • Browse
  • Commits
  • Download .zip
Name Modified Size
..
sql
Action.java 12 years ago 1 KB
BaseAction.java 12 years ago 2 KB
BaseRenamerAction.java 12 years ago 8 KB
CheckCase.java 12 years ago 3 KB
ClientRenamer.java 14 years ago 2 KB
ClientWorkspaceReporter.java 12 years ago 3 KB
CompoundAction.java 12 years ago 2 KB
CountDirectories.java 12 years ago 2 KB
EmptyFilesizeFinder.java 12 years ago 543 B
FilenameAndDirectory.java 14 years ago 4 KB
FilepathRenamer.java 14 years ago 2 KB
FileTypePrinter.java 12 years ago 500 B
HighAsciiFinder.java 16 years ago 1 KB
JournalAction.java 12 years ago 1 KB
JournalSplitter.java 11 years ago 4 KB
Obliterator.java 12 years ago 3 KB
PrintAction.java 12 years ago 976 B
SQLLoader.java 12 years ago 861 B
SQLUpdater.java 12 years ago 5 KB
UserLister.java 12 years ago 989 B
UserRenamer.java 14 years ago 2 KB
Change User Description Committed
10133 Sven Erik Knop Updated signature of JournalSplitter Action methods, missed the @Override annotations. 11 years ago
8345 Sven Erik Knop Prevent ClientWorkspaceReporter from exiting in case of broken have records. 12 years ago
8296 Sven Erik Knop Clean-up: instead of casting in every action, cast only once in the dispatcher.
Should ma...ke code saner and safer.

No functional change.
«
12 years ago
8275 Sven Erik Knop Silenced compiler warning 12 years ago
8239 Sven Erik Knop Added missing super call for setDefaultOptions 13 years ago
8237 Sven Erik Knop Adopted Nick Poole's changes to add PostgresSQL support. 13 years ago
8204 Sven Erik Knop conflict count is correct, now original count is off. 13 years ago
8203 Sven Erik Knop Let's try it again with java 1.6 13 years ago
8201 Sven Erik Knop CheckCase printed wrong count for conflicts.
SQlUpdater had missing method for Java 1.7
13 years ago
8200 Sven Erik Knop JournalReader can now process delete records (@dl@).
Also fixed processing of type 12 not...e records = journaldbchecksum «
13 years ago
8187 Sven Erik Knop Added a simple UserLister action to list all users present and past in a checkpoint.

Us
...e like this:

java -jar JournalReader -a journal.action.UserLister <checkpoint>

Prints the users out to stdout (or a file if -o <filename> is specified) in the form

username=

This should make it easy to add the new name for a RenameAction.
«
13 years ago
8180 Sven Erik Knop BaseRenamerAction now stores oldValue in 2 separate tables, one in lowercase
form, the ot...her untouched.

This is because at the time when the table is filled we do not know whether
the checkpoint is going to be case-insensitive, so we have to store both
variants.
«
13 years ago
8173 Sven Erik Knop Added journal.action.CountDirectories ...

to prove a point :-)
13 years ago
8167 Sven Erik Knop Updated CheckCase action with additional information.
Now each conflict reports which pat...h it conflicts with and a full count.

The idea is to see which version is dominant to make an informed decision which
version is correct.
«
13 years ago
8166 Sven Erik Knop First attempt at a CaseCheck action.
Reads a checkpoint and spits out a list of files and... directories that have
an evil cases twin, followed by a count.

Usage:

java -jar journalReader.jar -a journal.action.CaseCheck <checkpoint>
«
13 years ago
8135 Sven Erik Knop Added new version of resolvex to the schema. 13 years ago
8027 Sven Erik Knop Moved exceptions to their own package.
Enabled new Action FilepathRenamer (not fully test...ed yet). «
14 years ago
8024 Sven Erik Knop Refactoring: moved the filter into their own package 14 years ago
8023 Sven Erik Knop Complete rewrite of the configuration file, now based on an ini-file
format.

The ini f
...ile has a general [reader] section for settings like
verbose, outputFile, case-sensitivity and so on.
It also allows to set up a range of Actions and Filters. The section
name here is the fully classified class name, followed by settings for the particular actions. An example will make this clearer:
================================================================
[reader]
verbose=true

[journal.action.UserRenamer]
fileName=user.txt
patch=True
outputFile=user.out

[journal.action.ClientRenamer]
fileName=client.txt
outputFile=client.out
patch=true
================================================================

I will provide more example set-ups in the near future.

Filters are classes implementing journal.action.Filter (soon to be journal.filter.Filter)
which can be chained together and are all executed before the actions.
Actions are applied in order that they are given in the config file.
«
14 years ago
8022 Sven Erik Knop Beginnings of a FilepathRenamer.
Not done yet or even tested.
14 years ago
8021 Sven Erik Knop Add compound action, which contains a list of actions that will all be
invoked on a Journ...alEntry. Needs refactoring of the way Options are processed,
which will come in a later change.
«
14 years ago
8020 Sven Erik Knop Replace public Option attributes with setters and getters. 14 years ago
8017 Sven Erik Knop Fixed patching by adding copy constructor. 14 years ago
8016 Sven Erik Knop In the middle of refactoring the Renamer classes into the BaseRenamer. 14 years ago
8015 Sven Erik Knop Now with counter reestablished. 14 years ago
8014 Sven Erik Knop Extracted a base class.
Not quite finished since I need a counter class as well.
14 years ago
8013 Sven Erik Knop Rewrite of ClientUserRenamer.
Now based on a saner model using a set of
Actions instead
... of lots of state variables.
Note that the counter currently does not work and simply returns 0 changes.
«
14 years ago
8012 Sven Erik Knop Rename Renamer to ClientUserRenamer for clarification. 14 years ago
7988 Sven Erik Knop Little changes: removed one warning, added an option to JournalSplitter 14 years ago
7936 Sven Erik Knop Attempt at an EmptyFileSizeFinder Action. 14 years ago
7876 Sven Erik Knop Added new Journal type for JournalNotes and modified printers to deal with its values. 15 years ago
7874 Sven Erik Knop Upgrade to 2010.2 including new JournalNotes. 15 years ago
7873 Sven Erik Knop Simple FileTypePrinter action. 15 years ago
7872 Sven Erik Knop Complete re-write of the Obliterator.
This version has successfully cleaned up a customer...'s database but needs lots more testing. «
15 years ago
7847 Sven Erik Knop New action journal.action.Obliterator.
When 'p4 obliterate' fails, use this to clean up t...he checkpoint :-) «
15 years ago
7823 Sven Erik Knop Updated the Renamer tool to solve the problem that owners of specs such as labels and clie...nt workspaces wouldn't get updated.

Jar file with updated version submitted as well.
«
15 years ago
7626 Sven Erik Knop Removed obsolete imports.
Added jar file manifest to build.xml
15 years ago
7592 Sven Erik Knop Yet another missing file from the JournalREader 16 years ago
7591 Sven Erik Knop and another recovered file 16 years ago
7590 Sven Erik Knop Another missing file 16 years ago
7527 Sven Erik Knop JournalReader, now in its proper place.

Documentation to follow.
16 years ago