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

VCS refactoring almost completed + DB changes unified #74

Closed
wants to merge 70 commits into from

Conversation

Digitalone1
Copy link

@Digitalone1 Digitalone1 commented Jan 28, 2023

Requirements

  • Filling out the template is required.

  • All new code requires tests to ensure against regressions.

    • However, if your PR contains zero code changes, feel free to select the checkmark below to indicate so.
  • Have you ran tests against this code?

Description of the Change

  • fixed unused variable signaled by CodeQL
  • removed pseudo objects that I previously modified
  • added an internal util for metadata object construction
  • removed versions sorting since the database will have its own sorting system

@confused-Techie please, take a look at this, tarball data appended to versions metadata objects were overwritten, so we need to clone the whole packageJSON.

Besided I added an util for metadata construction. This might seem overkill, but having the structure repeated in multiple places in the code is generally bad because you might update one and not the others when needed, while having a single point to serve it it's better because you modify the object in one place. You still need to update the function arguments, but maybe a default for additional arguments can be added in the future...

Update 2023/01/29

@confused-Techie Merged the DB changes branch with git refactoring branch and then fixed all the remaining issues. The tests are all passing! (except Codacy that seems not enabled for this branch)

There will be surely issues in production, but at least we have no issues on tests in developer mode.

confused-Techie and others added 30 commits January 12, 2023 17:53
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.2 to 2.8.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.2...2.8.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [eslint](https://github.com/eslint/eslint) from 8.31.0 to 8.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.31.0...v8.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…_and_yarn/prettier-2.8.3

Bump prettier from 2.8.2 to 2.8.3
…_and_yarn/eslint-8.32.0

Bump eslint from 8.31.0 to 8.32.0
Bumps [superagent](https://github.com/ladjs/superagent) from 8.0.6 to 8.0.8.
- [Release notes](https://github.com/ladjs/superagent/releases)
- [Changelog](https://github.com/ladjs/superagent/blob/master/HISTORY.md)
- [Commits](ladjs/superagent@v8.0.6...v8.0.8)

---
updated-dependencies:
- dependency-name: superagent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…_and_yarn/superagent-8.0.8

Bump superagent from 8.0.6 to 8.0.8
@Digitalone1 Digitalone1 changed the title VCS refactoring: Pack metadata format + Remove versions sorting VCS refactoring almost completed + DB changes unified Jan 29, 2023
dependabot bot and others added 15 commits January 31, 2023 07:10
Bumps [eslint](https://github.com/eslint/eslint) from 8.32.0 to 8.33.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.32.0...v8.33.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…pply-chain-attack

Avoid names supply chain attack
…-system

Prepare to migrate to the new versioning system
…-system-2

Prepare to migrate to the new versioning system - part 2
…_and_yarn/google-cloud/storage-6.9.1

Bump @google-cloud/storage from 6.9.0 to 6.9.1
…_and_yarn/superagent-8.0.9

Bump superagent from 8.0.8 to 8.0.9
…_and_yarn/jest-29.4.1

Bump jest from 29.4.0 to 29.4.1
…_and_yarn/eslint-8.33.0

Bump eslint from 8.32.0 to 8.33.0
@confused-Techie confused-Techie deleted the branch pulsar-edit:refactor-git January 10, 2024 15:24
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.

2 participants