Commit Graph

165 Commits

Author SHA1 Message Date
Lars Hvam
9c41a2b7d8
remove text pragmas and pseudo comments (#3827)
* remove text pragmas and pseudo comments

* fix whitespace

* fix carriage return

* test

* test

* Update zcl_abapgit_repo.clas.abap
2020-09-03 09:13:47 +02:00
Lars Hvam
75b83825ed
update linter config (#3822) 2020-09-01 16:27:16 +02:00
Alexander Tsybulsky
a4e6c87985
Switching to PRs (#3695)
* string map: public entries (read only)

* port http agent

* draft wip

* drafting

* fix SSL

* port ajson

* integrate ajson and http_agent

* agent global headers

* github enumerator

* update ajson

* draft wip

* enumerator factory

* http_agent via factory

* proxy

* repo->switch_origin draft

* refactor enum factory

* Revert "refactor enum factory"

This reverts commit bcfef40b38991adfe5f73677919db6bd0c652f7c.

* page wiring draft

* scripts draft

* "let it work!"

* repo setings page draft

* linter

* linter

* linter

* linter

* linter

* better settings page

* finetune page

* cleanups

* change hotkey

* fix ajson_error

* Update src/zcl_abapgit_repo_online.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>

* abaplint nesting 6

* remove description

* back to good old popups

* linter

* move commands to branches dropdown

* auth helpers

* move json to separate package

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-27 07:47:27 +02:00
Lars Hvam
e88f522e83
OTGR: syntax error, disable parents temporarily (#3787)
* OTGR: syntax error, disable parents temporarily

* Update abaplint.json
2020-08-24 11:36:58 +02:00
pokrakam
b20a020637
Allow naming of different test class types (#3771)
* Allow naming of different test class types

Propose to use the more commonly used naming conventions for test classes rather than naming everything ltcl_. These are used by SAP and also referenced in the style guides e.g. the section on [Helper Methods](https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#put-help-methods-in-help-classes) and used in the ABAP unit testing book.

ltc_: test class
lth_: test helper
ltd_: test double
lts_: test suite

Oh, and also corrected bug in exception class name that I spotted when editing

* Update with generic naming suggestions

Co-authored-by: Lars Hvam <larshp@hotmail.com>

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-19 08:41:55 +02:00
pokrakam
138172ffda
Exclude test class with XML from line length check (#3755)
* Exclude test class with XML from line length check

We could also exclude all zcl_abapgit_object*testclasses or even test classes in general.

* Correct syntax

* Update abaplint.json

* Update abaplint.json

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-17 20:37:18 +02:00
Lars Hvam
d1f277365b
create_sotr, remove unused parameters (#3739)
* minor changes

* create_sotr, remove unused parameters
2020-08-16 08:21:49 +02:00
Lars Hvam
7cf1202723
update linter configuration (#3734) 2020-08-14 12:22:32 +02:00
Lars Hvam
867c74701f
remove some unused variables (#3719)
* remove some unused variables

* more unused
2020-08-09 08:44:54 +02:00
Lars Hvam
37ec998898
update lint config (#3618) 2020-07-13 10:22:33 +02:00
Lars Hvam
74ea9f046a
linting: errors for anything that contains "ABAPGIT" (#3523) 2020-06-18 17:03:23 +02:00
Lars Hvam
024167ce97
replace SYREPID (#3501)
* Update abaplint.json

* replace SYREPID
2020-06-16 07:34:12 +02:00
Lars Hvam
9af61c99c6
fully type sydatum and syuzeit (#3457) 2020-06-07 09:01:08 +02:00
Lars Hvam
d36b43defe
line break parameters (#3444)
* line break parameters

* Update zcl_abapgit_gui_page_repo_sett.clas.abap

* Update zcl_abapgit_gui_page_repo_sett.clas.abap

* fix
2020-06-04 15:10:35 +02:00
Lars Hvam
ea03cc5e4a
Fewer DDIC type references (#3434)
* Fewer DDIC type references

* Update abaplint.json
2020-05-29 06:30:24 +02:00
Lars Hvam
aec7468aad
Type Hunting (#3414)
* Type Hunting

* update

* update

* flag
2020-05-26 05:55:28 +02:00
Lars Hvam
f431d30140
setup linting of the compiled report (#3408)
* lint the compiled report

* change

* Update ci.yml
2020-05-24 10:36:14 +02:00
Lars Hvam
f17eddfd6b linting, update error namespace 2020-05-23 11:46:36 +02:00
larshp
323789836e add icons 2020-05-18 07:20:06 +02:00
larshp
0308182f81 update lint config 2020-05-16 10:39:15 +02:00
g-back
07c87edd03
PINF: Exporting to Returning Parameter (#3252)
* change exporting to returning parameter

* enable prefer_returning_to_exporting
2020-03-11 11:42:15 +01:00
Lars Hvam
136dfaf8d3 disable ambiguous_statement rule
its not possible to make MODIFY explicit on 702 syntax
2020-02-08 14:34:45 +01:00
Lars Hvam
7d0503218e no macros #3170 2020-02-03 09:20:58 +01:00
Lars Hvam
38837c3268
zlib, remove macros, #3170 (#3190)
* zlib, remove macros, #3170

* sneaky update to abaplint.json

* sneaky sneaky

* Update abaplint.json
2020-02-02 07:01:56 +01:00
Lars Hvam
3e0b0505b1
remove commented code (#3166)
* update abaplint.json

* remove commented code

* remove 2 unused variables
2020-01-24 14:31:04 +01:00
larshp
54f8f41c22 update abaplint.json 2020-01-11 09:41:52 +01:00
Lars Hvam
75812fb17b
less prefixes (#3144) 2020-01-11 09:24:36 +01:00
Lars Hvam
363baf7733
Update abaplint.json (#3143)
* Update abaplint.json

* Update abaplint.json
2020-01-08 07:24:26 +01:00
Lars Hvam
e201bf566f
remove class prefixes if its current class (#3137)
* remove class prefixes if its current class

* Update abaplint.json
2020-01-06 13:20:19 +01:00
Lars Hvam
b42f3bc485
Refactoring (#3134)
* fully type constants

* moving to single line

* move to single line

* enable keep_single_parameter_on_one_line
2019-12-28 12:11:32 +01:00
Lars Hvam
819a26527c update to latest lint version 2019-12-27 08:02:40 +01:00
Lars Hvam
29cb891d23
remove obsolete NO_HANDLER pragmas (#3085)
* remove obsolete NO_HANDLER pragmas

* update lint to latest
2019-11-25 07:35:41 +01:00
mariusraht2
064e006c88 Issue 3042: Error author regex (#3070)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Tags: Error author regex

> Regex couldn't match with string "pull[bot] <39814207+pull[bot]@users.noreply.github.com> 1573216988 +0000" because "[]" weren't allowed

* abapLint

* Added unit test for author_regex

#3042

* Any character in author name and Unit Tests

#3042
#3069

* Unit Tests and utils method for author regex

#3042
#3069

> Unit Tests for author_regex (zif_abapgit_definitions)
> New utils method for regex check as utils method in zcl_abapgit_utils
> Regex for author expects now at least one character for the author name ('^(.+)'...)
> Use zif_abapgit_definitions%3D>ty_commit_tt  instead of local type of the same type in class zcl_abapgit_branch_overview

* Changed utils method/tests and moved unit tests

#3042 - Error author regex
#3069 - Add unit tests

> Renamed is_author to extract_author_data and moved related source code from branch_overview to utils class
> Changed related unit tests to handle exception or not
> Moved unit tests to local class of zcl_abapgit_utils

* abapLint

* abapLint

* abapLint

* abapLint

* exclude 7bit test for testclass
2019-11-21 06:40:25 +01:00
Lars Hvam
6b3fc6ebed update abaplint 2019-11-20 17:48:50 +01:00
Lars Hvam
04a6d7e484
Update abaplint.json to latest (#3045)
* Update abaplint.json

* chain mainly declarations
2019-11-06 09:35:18 +01:00
Lars Hvam
dbe484e124 disable no_public_attributes, temp workaround 2019-10-31 12:49:10 +01:00
larshp
d0e3956df8 update to latest 2019-10-27 12:05:47 +01:00
Lars Hvam
bed6050437
abaplint: add extra rules (#2953) 2019-10-07 23:00:12 -07:00
Frederik Hudák
3ae7e3ad66 Shorten abaplint.json by omitting optional properties (#2915)
Due to recent changes in abaplint, the config can now be shortened by removing properties equal to their default values.
2019-09-12 07:39:56 -07:00
Lars Hvam
14f01f64d5 enable additional rules 2019-08-30 05:36:36 -07:00
Lars Hvam
573cfb7e06
update to abaplint 2.0.0 (#2898)
* Update abaplint.json

* Update package.json

* Update package.json
2019-08-30 04:05:09 -07:00
Lars Hvam
4b84d0ae0a
Lint (#2870)
* rewrite

* Update abaplint.json

* Update abaplint.json

* move to include where its used

* Update .gitignore

* Update package.json

* update to latest
2019-08-15 05:52:02 -07:00
Lars Hvam
27f712a47b
linting (#2861)
* rewrite

* Update abaplint.json

* Update abaplint.json

* move to include where its used

* Update .gitignore

* Update abaplint.json

* Update package.json

* Update package.json
2019-08-11 23:16:10 -07:00
Lars Hvam
971efbfaac Update abaplint.json 2019-08-09 04:13:04 -07:00
Lars Hvam
c173458e39
avoid use of STATICS #2828 (#2858)
* enable check for STATICS

* refactor to CLASS-DATA

* rename
2019-08-08 01:30:13 -07:00
Lars Hvam
cadb70c7bb
linting, add global constants (#2849) 2019-08-06 23:13:08 -07:00
Lars Hvam
88a5b4cd50
update to latest abaplint (#2829)
* update to latest abaplint

* Update package.json
2019-08-02 01:32:14 -07:00
Lars Hvam
c84b209944
Minor lint updates (#2766)
* remove some double space

* update abaplint to latest

* fixes
2019-07-01 22:08:54 -07:00
Lars Hvam
58235f1e6a
do not skip descriptions check for exception classes (#2714)
* do not skip descriptions check for exception classes

* remove description

* remove description

* remove description

* remove description

* remove description

* remove description

* remove description

* remove description
2019-05-29 23:54:06 -07:00
Lars Hvam
0f7fb3658a
Align code, compare operators #2670 (#2702)
* Update abaplint.json

* UDMO change compare operator
2019-05-26 03:38:54 -07:00
Lars Hvam
9fade89856
change constructors to public (#2677)
* enable abaplint constructor check

* change constructor to public

* change constructor to public

* change constructors to public
2019-05-16 23:20:10 -07:00
larshp
76c91e0cc5 update to latest abaplint config 2019-05-14 15:43:47 +02:00
Lars Hvam
fc167ff3cd
update abaplint config to latest (#2480)
* update abaplint config to latest

* remove some descriptions

* remove more descriptions

* fixes

* fixes
2019-03-04 07:12:42 -08:00
larshp
f1c724cc0c update abaplint config to latest 2019-02-25 21:29:47 -08:00
Lars Hvam
7466dca08c Update abaplint.json 2019-02-02 04:29:35 -08:00
Lars Hvam
6eb17c2e10
Update abaplint.json 2019-01-26 11:03:57 +01:00
larshp
5e13b9c494 latest abaplint config 2019-01-24 14:39:15 +01:00
larshp
ee76ec1f45 update to latest abaplint 2019-01-18 07:06:55 +01:00
Lars Hvam
cc6907a8e0
update to latest abaplint (#2172)
* latest abaplint

* latest abaplint
2018-12-02 09:06:31 +01:00
Lars Hvam
17b33c1693
update to latest abaplint (#2135)
* update to latest abaplint

* Update abaplint.json

* keywords upper case
2018-11-23 12:31:44 +01:00
Lars Hvam
69cd1f5d19
parallel serialization #1714 (#2129)
* parallel serialization #1714

* use latest abaplint

* Update abaplint.json

* add function group

* fallback to sequential

* fix error when running in background mode
2018-11-23 12:16:47 +01:00
Lars Hvam
db74b1ea52
Move SSL_ID determination to user exit (#2114)
* docs: change id to parameter

* move ssl_id determination to exit #2102

* docs: add new exit

* update abaplint to latest
2018-11-19 07:15:25 +01:00
larshp
6415f9e249 update abaplint to latest 2018-11-08 06:26:32 +01:00
larshp
06a16c3a31 abaplint, run for v702 2018-08-08 12:48:20 +00:00
larshp
6978c370c5 add abaplint config 2018-08-08 12:46:40 +00:00