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

refactor: replace syncIssueMetaData with updateDirectoryIssue and upd… #1788

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

0x4007
Copy link
Member

@0x4007 0x4007 commented Oct 27, 2024

…ate parameter names for clarity

Resolves ubiquity/devpool-directory-tasks#54

QA: https://github.com/0x4007/devpool-directory/actions/runs/11536021329/job/32111752753

260 -> 218 open issues after this run which is aligned with my expectation of how many issues were closed since I pushed the broken code.

import { commitTwitterMap } from "../git";

export type TwitterMap = Record<string, string>;

export async function initializeTwitterMap() {
let twitterMap: TwitterMap = {};
try {
twitterMap = JSON.parse(await readFile("./twitter-map.json", "utf8"));
const response = await fetch("https://raw.githubusercontent.com/0x4007/devpool-directory/__STORAGE__/twitter-map.json");
Copy link
Member Author

@0x4007 0x4007 Oct 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was out of scope but it wasn't working before. But to be clear I didn't focus on testing this.

Copy link
Contributor

Unused files (3)

.github/empty-string-checker.ts, .github/knip.ts, src/directory/set-state-changes.ts

Unused dependencies (1)

Filename dependencies
package.json octokit

Unused devDependencies (6)

Filename devDependencies
package.json @octokit/types
@types/jest
@types/twitter
esbuild
eslint-config-prettier
eslint-plugin-prettier

Unlisted dependencies (7)

Filename unlisted
.cspell.json @cspell/dict-typescript/cspell-ext.json
@cspell/dict-node/cspell-ext.json
@cspell/dict-software-terms
jest.config.json jest-md-dashboard
tests/helpers.test.ts @jest/globals
tests/twitter.test.ts @jest/globals
src/directory/directory.ts @octokit/plugin-rest-endpoint-methods

Unlisted binaries (2)

Filename binaries
.github/workflows/build.yml build
.github/workflows/cspell.yml format:cspell

@0x4007 0x4007 marked this pull request as ready for review October 27, 2024 00:27
@0x4007 0x4007 merged commit 99c4318 into ubiquity:development Oct 27, 2024
0 of 4 checks passed
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.

Already Assigned Issues in Devpool
1 participant