Skip to content

feat: Add support for remote GitHub repository + working directory (#2)#211

Open
xakraz wants to merge 12 commits intoryancyq:mainfrom
DataDome:fix/binariesSupport
Open

feat: Add support for remote GitHub repository + working directory (#2)#211
xakraz wants to merge 12 commits intoryancyq:mainfrom
DataDome:fix/binariesSupport

Conversation

@xakraz
Copy link

@xakraz xakraz commented Feb 27, 2026

No description provided.

xakraz and others added 12 commits October 3, 2025 14:00
* Update repo.ts

Signed-off-by: Xavier Krantz <xavier.krantz@datadome.co>

* fix: missing )

* update repo.ts

* fixup: build dist

* fix: return "" on tags

* chore(readme): Update inputs

---------

Signed-off-by: Xavier Krantz <xavier.krantz@datadome.co>
Co-authored-by: Stessy Mougeot <stessy.mougeot@icloud.com>
- Add test for loading a binary file as a blob and converting its contents to a base64 string.
- Add test for handling a binary buffer stream with Base64Encoder.
- Update regular expressions for extracting URL variables and modifying authorization headers by simplifying the patterns.
- Correct version numbers throughout the codebase for consistency.
- Simplify the implementation of the random boundary calculation for form data using a direct `Math.floor` function call.
- Refine module import pattern by eliminating the use of custom property listing, ensuring consistency.
- Remove unnecessary `crypto` module import and handle random number generation internally.

Signed-off-by: Xavier Krantz <xavier.krantz@datadome.co>
- Introduce retry logic when fetching repository info if the branch was just pushed, with up to 5 attempts.
- Add a flag to track if the branch was just pushed, affecting subsequent operations.
- Update variable names from `repository` to `repoData` to enhance code clarity.
- Import a new `RepositoryWithCommitHistory` type for better type definition.
- Adjust error handling to use `repoData` for identifying branch commit issues.

Signed-off-by: Xavier Krantz <xavier.krantz@datadome.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant