You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# Changelog
2
2
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
+
3
8
## 0.12.1 (20/12/2018)
4
9
5
10
- First SQL Server instructions. All instructions are considered at level3. This can give vastly wrong estimates but will be tuned later on.
Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ It can:
19
19
Prerequisites :
20
20
-------------
21
21
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.
23
23
24
24
On a Centos 7(+) box, it can be installed this way:
25
25
@@ -33,7 +33,7 @@ On a Debian box, the packages could be installed with:
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.
37
37
38
38
Installation
39
39
------------
@@ -65,22 +65,22 @@ Please refer to the complete [generated documentation](https://github.com/societ
- 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:
69
69
```
70
-
./code2pg -e java -l java
70
+
./code2pg -e java -l comma-strings
71
71
```
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:
- 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.
0 commit comments