Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IN-4062 redis driver #7119

Merged
merged 26 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
dc0cfca
Initial commit
filipsobol Feb 15, 2022
dc2312f
chore: add driver
filipsobol Feb 15, 2022
b3d3e00
chore: update README.md
filipsobol Feb 15, 2022
1ccc6ef
chore: update package description
filipsobol Feb 15, 2022
a5a1fd6
refactor: added publishing script
bloodf Feb 16, 2022
a2ea47f
refactor: added github issues template
bloodf Feb 16, 2022
789d1a4
refactor: added missing standard documentation
bloodf Feb 16, 2022
298a37e
refactor: added github actions
bloodf Feb 16, 2022
bb22a32
refactor: added github missing documentation and config
bloodf Feb 16, 2022
43fdc53
refactor: added commitlint
bloodf Feb 16, 2022
5f98893
refactor: moved from root to src
bloodf Feb 16, 2022
f82dcb7
Merge pull request #1 from vuestorefront/standard
bloodf Feb 17, 2022
3b53686
fix: change entry point (#3)
lsliwaradioluz Feb 18, 2022
0269884
chore: release 1.0.1
filipsobol Feb 18, 2022
cd9957c
Create CHANGELOG.md
filipsobol Feb 18, 2022
297f731
chore: added #TechForUkraine
bloodf Feb 26, 2022
755864b
Update README.md
bloodf Feb 27, 2022
f7b50bf
Update README.md
bloodf Apr 22, 2022
53b21eb
fix: reduced amount of retries by default (#8)
Fifciu Dec 19, 2023
e286a2d
feat: query param filtering (#6)
tobyj Mar 14, 2024
5ba4325
alokai rebranding (#9)
Olbix Mar 19, 2024
0a8f92e
Merge branch 'main' of ../redis-driver into IN-4062-redis-driver
sethidden Apr 18, 2024
0139e60
move redis-driver to packages after merge
sethidden Apr 18, 2024
d5085aa
remove unused files
sethidden Apr 18, 2024
2ba5fac
remove devdeps
sethidden Apr 18, 2024
749e70b
lint fix
sethidden Apr 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions packages/redis-driver/.github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Contributing to @vuestorefront/redis-driver
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer

## We Develop with Github
We use github to host code, to track issues and feature requests, as well as accept pull requests.

## We Use [Git Flow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow), So All Code Changes Happen Through Pull Requests
Pull requests are the best way to propose changes to the codebase (we use [Git Flow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)). We actively welcome your pull requests:

1. Fork the repo and create your branch from `develop`.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
5. Make sure your code lints.
6. Issue that pull request!

## Any contributions you make will be under the MIT Software License
In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.

## Report bugs using Github's [issues](https://github.com/vuestorefront/redis-driver/issues)
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/vuestorefront/redis-driver/issues/new); it's that easy!

## Write bug reports with detail, background, and sample code
**Great Bug Reports** tend to have:

- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- The environment you're running the application
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)

People *love* thorough bug reports. I'm not even kidding.

## Use a Consistent Coding Style
I'm again borrowing these from [AirBnB's Code Style](https://github.com/airbnb/javascript)

* 2 spaces for indentation rather than tabs
* You can try running `npm run lint` for style unification

## License
By contributing, you agree that your contributions will be licensed under its MIT License.
79 changes: 79 additions & 0 deletions packages/redis-driver/.github/ISSUE_TEMPLATE/1.bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: "🐛 Bug report"
description: Report errors or unexpected behavior
labels:
- bug
- triage-needed
title: '[Bug]: '
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report, please make sure to [search for existing issues](https://github.com/vuestorefront/redis-driver/issues) before filing a new one!
- type: textarea
id: whattoexpect
attributes:
label: Expected Behavior
placeholder: What were you expecting?
validations:
required: false
- type: textarea
id: whathappened
attributes:
label: Actual Behavior
placeholder: What happened instead??
validations:
required: true
- type: textarea
id: solution
attributes:
label: Possible Solution
description: Also, if possible provide the information on how to implement the solution.
placeholder: Do you have any possible solution or fix for this bug?
validations:
required: false
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: Please provide detailed instructions on how to reproduce.
placeholder: How we can reproduce this bug?
validations:
required: false
- type: input
attributes:
label: What version of Magento 2 integration are you using?
description: 'For example: 1.0.0'
validations:
required: true
- type: input
attributes:
label: What version of Node.js are you using?
description: 'For example: 12.0.0'
validations:
required: true
- type: input
attributes:
label: What browser (and version) are you using?
description: 'For example: Chrome, Safari'
validations:
required: true
- type: input
attributes:
label: What operating system (and version) are you using?
description: 'For example: macOS, Windows'
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/vuestorefront/redis-driver/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "📚 Documentation Issue"
description: |
Report issues in our documentation
labels:
- documentation
- triage-needed
body:
- type: textarea
attributes:
label: Provide a description of requested docs changes
placeholder: Briefly describe which document needs to be corrected.
validations:
required: true
- type: checkboxes
id: fixthebug
attributes:
label: Able to fix / change the documentation?
description: Can you handle this change and create a Pull Request?
options:
- label: 'Yes'
required: false
- label: 'No'
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/vuestorefront/redis-driver/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
40 changes: 40 additions & 0 deletions packages/redis-driver/.github/ISSUE_TEMPLATE/3.feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "🚀 Feature Request"
description: Sugest a new feature request or improvement on the project
title: '[Feature]: '
labels:
- feature
- enhancement
- triage-needed

body:
- type: markdown
attributes:
value: |
Please, provide as many information, and knowledge so the feature can be correctly designed and developed.
- type: textarea
id: suggestion
attributes:
label: How the project can be improved?
description: What is the motivation for adding / enhancing this feature? Can you describe a concrete use case for this feature or why one of current ones should be enhanced.
placeholder: Describe the motivation or the concrete use case
validations:
required: true
- type: textarea
id: acceptcriterea
attributes:
label: What are the acceptance criteria?
description: List the acceptance criteria for this task in a form of a list.
value: '- [ ]'
- type: textarea
id: additionalinfo
attributes:
label: Additional information
description: If you think that any additional information would be useful please provide them here.
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/vuestorefront/redis-driver/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
28 changes: 28 additions & 0 deletions packages/redis-driver/.github/ISSUE_TEMPLATE/4.question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "❓ Question / Basic Issue"
description: |
Do you have a question on the implementation or a basic issue
labels:
- triage-needed
body:
- type: markdown
attributes:
value: If you are not sure how something works or want discuss something just describe your doubts.
- type: textarea
attributes:
label: What is your question / Please describe your issue
validations:
required: true
- type: input
attributes:
label: What version of Magento 2 Integration are you using?
description: 'For example: 1.0.0'
validations:
required: true
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/vuestorefront/vue-storefront/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
5 changes: 5 additions & 0 deletions packages/redis-driver/.github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Discord Chat
url: https://discord.vuestorefront.io/
about: Ask questions and discuss with other Vue Storefront users in real time.
36 changes: 36 additions & 0 deletions packages/redis-driver/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
9 changes: 9 additions & 0 deletions packages/redis-driver/.github/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Configuration for lock-threads - https://github.com/dessant/lock-threads
# disable lock bot for now
daysUntilLock: 3650
exemptLabels: []
lockLabel: false
lockComment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.
66 changes: 66 additions & 0 deletions packages/redis-driver/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
# daysUntilStale: 60

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
# daysUntilClose: 7

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
# exemptLabels:
# - backlog

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false

# Label to use when marking as stale
staleLabel: wontfix

# Comment to post when marking as stale. Set to `false` to disable
# markComment: >
# This issue has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
# closeComment: >
# Your comment here.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
# only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
pulls:
daysUntilStale: 15
daysUntilClose: 7
markComment: >
This pull request has been automatically marked as stale.
It will be closed if no further activity occurs.
Thank you for your contributions.

issues:
daysUntilStale: 30
daysUntilClose: 7
markComment: >
This issue has been automatically marked as stale.
It will be closed if no further activity occurs.
Thank you for your contributions.
exemptLabels:
- backlog
14 changes: 14 additions & 0 deletions packages/redis-driver/.github/workflows/assing-pr-to-author.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PR to Author
on:
pull_request:
types: [opened, ready_for_review, edited, synchronize]

jobs:
assignAuthor:
name: Assing
runs-on: ubuntu-latest
steps:
- uses: samspills/[email protected]
if: github.event_name == 'pull_request' && github.event.action == 'opened'
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
21 changes: 21 additions & 0 deletions packages/redis-driver/.github/workflows/conventional-pr-name.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Commitlint PR Title
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']

jobs:
lint:
name: Validate PR Title (conventional-commit)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Install Dependencies
run: yarn

- uses: JulienKode/[email protected]
Loading
Loading