Skip to content

Commit b54fc81

Browse files
committed
Version 0.13.0
1 parent a3dbf8f commit b54fc81

4 files changed

Lines changed: 2113 additions & 2042 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.13 (29/04/2019)
4+
5+
- Now requires Perl >= 5.20.
6+
- This release brings incompatible changes with the previous ones. --language has been changed to make things clearer. SQL instructions now have to be searched in "plain" text or "comma-strings".
7+
38
## 0.12.1 (20/12/2018)
49

510
- First SQL Server instructions. All instructions are considered at level3. This can give vastly wrong estimates but will be tuned later on.

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ It can:
1919
Prerequisites :
2020
-------------
2121

22-
`code2pg` is a standalone script. It requires the `File::Slurp`, `File::Find::Rule`, `List::MoreUtils`, `Getopt::Long` and `Config::General` Perl modules. They can be obtained either from a CPAN client or from your distribution.
22+
`code2pg` is a standalone script. It requires Perl >= 5.20 and the `File::Slurp`, `File::Find::Rule`, `List::MoreUtils`, `Getopt::Long` and `Config::General` Perl modules. They can be obtained either from a CPAN client or from your distribution.
2323

2424
On a Centos 7(+) box, it can be installed this way:
2525

@@ -33,7 +33,7 @@ On a Debian box, the packages could be installed with:
3333
sudo apt-get install libfile-slurp-perl libfile-find-rule-perl libconfig-general-perl liblist-moreutils-perl libgetopt-mixed-perl
3434
```
3535

36-
The script has been tested on Windows with Strawberry Perl (v5.24.3) with the proper modules installed (the CPAN client can be used for this). A warning is issued though as `wc` is usually not recognized.
36+
The script has been tested very lightly on Windows with Strawberry Perl (v5.24.3) with the proper modules installed (the CPAN client can be used for this). A warning is issued though as `wc` is usually not recognized.
3737

3838
Installation
3939
------------
@@ -65,22 +65,22 @@ Please refer to the complete [generated documentation](https://github.com/societ
6565
```
6666
./code2pg --help ALL_INSTRUCTIONS | pandoc -f markdown -o myfile.pdf
6767
```
68-
- analyze java files in the current directory with an extension .java and generate an estimation.html report:
68+
- analyze files in the current directory with an extension .java and generate an estimation.html report. SQL instructions will have to searched in comma delimited strings:
6969
```
70-
./code2pg -e java -l java
70+
./code2pg -e java -l comma-strings
7171
```
72-
- analyze java, jsp and .properties files in the current directory. This will so far need two reports as Oracle instructions will need to be analyzed in "" delimited strings, but directly in .properties files:
72+
- analyze java, jsp and .properties files in the current directory. This will so far need two reports as Oracle instructions will need to be analyzed in comma delimited strings, but directly in .properties files:
7373
```
74-
./code2pg -e java -e jsp -l java -f myproject_java.html
75-
./code2pg -e properties -l plsql -f myproject_properties.html
74+
./code2pg -e java -e jsp -l comma-strings -f myproject_java.html
75+
./code2pg -e properties -l plain -f myproject_properties.html
7676
```
77-
- analyze plsql files in two directories with extension .properties and generate a named html report. When SQL files must be analyzed directly (such as pl/sql or .properties files), please configure the language as plsql. For other languages, Oracle instructions will be searched between string delimiters.
77+
- analyze plsql files in two directories with extension .properties and generate a named html report. When SQL files must be analyzed directly (such as pl/sql or .properties files), please configure the language as "plain". For other languages, Oracle instructions will be searched between string delimiters.
7878
```
79-
./code2pg -e properties -l plsql -d /tmp/project1 -d /tmp/project2 -o project_estimate.html
79+
./code2pg -e properties -l plain -d /tmp/project1 -d /tmp/project2 -o project_estimate.html
8080
```
8181
- analyze java files in a SVN repository and generate a text report:
8282
```
83-
./code2pg -D svn -d https://mysvnrepo/project/trunk -l java -e java -f txt
83+
./code2pg -D svn -d https://mysvnrepo/project/trunk -l comma-strings -e java -f txt
8484
```
8585
- use a configuration file
8686
```
@@ -103,11 +103,11 @@ Estimation: 0.19 man-days
103103
Settings
104104
========
105105
106-
- Version code2pg: 0.11.2
107-
- Analysis date: 07/08/2018
106+
- Version code2pg: 0.13.0
107+
- Analysis date: 29/04/2019
108108
- Source code directory: /home/user/migration-project/
109109
- Number of .java files: 76
110-
- Language: java
110+
- Language: comma-strings
111111
- Number of analyzed LOC: 0
112112
- Log file:
113113
- orafce usage: No

0 commit comments

Comments
 (0)