583 Commits

Author SHA1 Message Date
Laurent Destailleur
810ac047dc Fix CI 2025-12-04 21:08:17 +01:00
Laurent Destailleur
e350886c15 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-04 20:38:22 +01:00
Laurent Destailleur
78316a577d Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-04 20:26:59 +01:00
Laurent Destailleur
3068a778da Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-12-04 19:51:48 +01:00
Laurent Destailleur
9d307a4238 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-12-04 19:07:33 +01:00
Laurent Destailleur
222cd76799 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-12-04 18:53:04 +01:00
Aloïs Micard
b2f9de7489 Add new workflow to trigger Docker build 2025-11-28 17:27:32 +01:00
Laurent Destailleur
cf2df65231 CI 2025-11-26 02:23:18 +01:00
Laurent Destailleur
41d103446a Rename file 2025-11-26 02:06:26 +01:00
dependabot[bot]
a2814f3d62 Bump actions/checkout from 5 to 6 (#36394)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 14:55:54 +01:00
MDW
63a78d8c00 Qual: Add perltidy & perlcritic + updates to fix notices. (#36370)
* Qual: Add pre-commit hooks for Perl code formatting and linting

- Added perltidy hook to format Perl code
- Added perlcritic hook to lint Perl code

* Qual: Update file opening syntax in build scripts (perltidy)

The changes update the syntax for opening files in several build scripts to use the three-argument form of the `open` function, which is more secure and recommended in modern Perl practices.

* Qual: Improve file handling and add strict/warnings pragmas (perlcritic)

The changes include:
- Adding 'use strict' and 'use warnings' pragmas to enforce better coding practices
- Improving file handling by using lexical filehandles (my $IN, my $SPECFROM, etc.)
- Fixing file opening and closing operations to use proper error handling
- Updating various file operations to use the new lexical filehandles
- Fixing indentation and formatting issues in the code

* Qual: Add strict and warnings pragmas to Perl scripts (perlcritic)

The changes add 'use strict;' and 'use warnings;' pragmas
- dev/build/doxygen/dolibarr-doxygen-build.pl
- dev/build/doxygen/dolibarr-doxygen-filter.pl
- dev/build/doxygen/dolibarr-doxygen-getversion.pl
- dev/build/gource/getavatars.pl
- dev/tools/dolibarr-mysql2pgsql.pl

* Qual: Add Perl no critic pragmas (perlcritic)

- Ignore some perlcritic notices

* Qual: Improve code formatting and readability

Perltidy:

- Indentation and spacing
- Improved variable naming and alignment
- Better code organization and structure
- Enhanced readability of conditional statements and loops

These changes do not alter the functionality of the script but make it more maintainable and easier to understand.

* qual: Exclude virtualmin from perltidy and perlcritic hooks

Exclude the virtualmin directory from both perltidy and perlcritic hooks due to specific reasons mentioned in the comment. This change ensures that these hooks do not process files in the virtualmin directory.

* Qual: Add installation of perltidy and perlcritic for pre-commit workflow

This commit adds the installation of perltidy and perlcritic as part of the pre-commit hooks workflow.

* Fix: Update version detection in dolibarr-doxygen-build.pl

- Add support for detecting version from DOL_MAJOR_VERSION and DOL_MINOR_VERSION constants
- Fix undefined variable issue in version detection

* Fix: Update getavatars.pl to use HTTPS and reverse git log

- Changed the URL from HTTP to HTTPS for Gravatar
- Added `--reverse` flag to git log command to process commits in chronological order (faster)
- Updated error message to indicate .git repository instead of .git directory (+ correct test)

* fix: Correct spelling in error messages and prompts

- Fixed typo in error message for missing environment variables
- Corrected spelling in prompt for module name input
- Improved clarity in comment for target checking
2025-11-23 01:52:07 +01:00
Eric Seigne
f1f7ea93b0 fix assign-and-label-v18 2025-11-20 10:09:29 +01:00
Eric Seigne
fd5c9b0562 update github actions for race conditions of author/reviewer 2025-11-20 09:46:59 +01:00
Laurent Destailleur
6c9a70ebdf CI 2025-11-19 15:52:47 +01:00
Laurent Destailleur
3b74f64d00 Add checkmajorversion.yml 2025-11-19 15:39:59 +01:00
dependabot[bot]
ea511792d3 Bump mdeweerd/logToCheckStyle from 2025.1.1 to 2025.11.2 (#36284)
Bumps [mdeweerd/logToCheckStyle](https://github.com/mdeweerd/logtocheckstyle) from 2025.1.1 to 2025.11.2.
- [Commits](https://github.com/mdeweerd/logtocheckstyle/compare/v2025.1.1...v2025.11.2)

---
updated-dependencies:
- dependency-name: mdeweerd/logToCheckStyle
  dependency-version: 2025.11.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 20:04:53 +01:00
ldestailleur
027b6f060d Fix CI 2025-11-06 02:30:59 +01:00
Laurent Destailleur
689b992afb Split tasks 2025-11-05 22:40:50 +01:00
dependabot[bot]
8ac1fca761 Bump actions/upload-artifact from 4 to 5 (#35960)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 01:12:07 +01:00
Laurent Destailleur
9f2c33aa75 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-24 19:39:15 +02:00
Frédéric FRANCE
d22b6abe59 update hash in windows-ci.yml (#35932) 2025-10-24 18:21:16 +02:00
Frédéric FRANCE
c80858e712 fix CI branch v21 (#35876)
* fix CI

* add same fix than in develop
2025-10-22 00:51:20 +02:00
Laurent Destailleur
f97028a764 Test change for ci to use php min 7.2 2025-10-19 21:09:45 +02:00
Laurent Destailleur
f0d53c7dc6 Fix pr 2025-10-15 12:55:43 +02:00
Laurent Destailleur
55591abedf Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-14 23:37:31 +02:00
Laurent Destailleur
63480f0318 Fix CI 2025-10-14 23:36:37 +02:00
ldestailleur
4dec03b9f9 Clean ci workflow files 2025-10-11 14:27:37 +02:00
ldestailleur
1eeee0ab80 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-03 12:58:31 +02:00
ldestailleur
5d3e2078a6 Disable not used github workflow 2025-10-03 12:57:54 +02:00
ldestailleur
1525b9c85e Rename label 2025-10-02 03:17:57 +02:00
ldestailleur
869aab8960 Removed no more required file 2025-10-01 20:02:36 +02:00
ldestailleur
8d7052ee50 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-01 19:57:24 +02:00
ldestailleur
b4ff2c4fe3 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-01 19:57:04 +02:00
ldestailleur
0d1fa3cec0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-01 19:51:51 +02:00
ldestailleur
57930b3abd Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-10-01 19:51:29 +02:00
ldestailleur
1dd2cc36e4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-10-01 19:51:11 +02:00
ldestailleur
477d755bbc Clean CI files 2025-10-01 19:32:40 +02:00
ldestailleur
f85b53a4ca Test CI 2025-10-01 19:29:30 +02:00
ldestailleur
43c2336683 Log 2025-10-01 19:28:36 +02:00
ldestailleur
40e4a6959f Fix CI 2025-10-01 19:17:22 +02:00
ldestailleur
54dc4452aa Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-10-01 17:27:12 +02:00
ldestailleur
746e4865d8 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-01 17:23:53 +02:00
ldestailleur
84eaa17791 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-01 17:21:40 +02:00
ldestailleur
07dfde2bf6 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-10-01 17:20:39 +02:00
ldestailleur
e9869bb5da Fix yml 2025-10-01 17:19:57 +02:00
ldestailleur
0ef519f2f6 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-10-01 17:18:29 +02:00
ldestailleur
22995dae99 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-10-01 17:16:24 +02:00
ldestailleur
52ae202aff Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-10-01 16:59:49 +02:00
ldestailleur
64cf2513bd Clean CI 2025-10-01 16:54:52 +02:00
ldestailleur
80494870c0 Try to fix CI 18 2025-10-01 14:33:56 +02:00