Skip to content

Enhanced Github repository catalog #646

@planetf1

Description

@planetf1

There are a number of issues open to add additional repositories into the catalog at

| [`egeria-connector-xtdb` :material-github:](https://github.com/odpi/egeria-connector-xtdb){ target=gh } | contains a native repository connector to use [XTDB :material-dock-window:](https://xtdb.com){ target=xtdb } as a pluggable back-end for an Egeria [metadata access store](/concepts/metadata-access-store). |

Rather than manually add each one, I experimented with a script which can

  • get a list of all repos under odpi that are not archived
  • only get the 'egeria' ones (this was done by adding a metadata tag to each repository)
  • output markdown in the same format as we currently use in the provided data table (albeit with no parsing of description yet)

The available fields include:

Available fields:
 assignableUsers
 codeOfConduct
 contactLinks
 createdAt
 defaultBranchRef
 deleteBranchOnMerge
 description
 diskUsage
 forkCount
 fundingLinks
 hasIssuesEnabled
 hasProjectsEnabled
 hasWikiEnabled
 homepageUrl
 id
 isArchived
 isBlankIssuesEnabled
 isEmpty
 isFork
 isInOrganization
 isMirror
 isPrivate
 isSecurityPolicyEnabled
 isTemplate
 isUserConfigurationRepository
 issueTemplates
 issues
 labels
 languages
 latestRelease
 licenseInfo
 mentionableUsers
 mergeCommitAllowed
 milestones
 mirrorUrl
 name
 nameWithOwner
 openGraphImageUrl
 owner
 parent
 primaryLanguage
 projects
 pullRequestTemplates
 pullRequests
 pushedAt
 rebaseMergeAllowed
 repositoryTopics
 securityPolicyUrl
 squashMergeAllowed
 sshUrl
 stargazerCount
 templateRepository
 updatedAt
 url
 usesCustomOpenGraphImage
 viewerCanAdminister
 viewerDefaultCommitEmail
 viewerDefaultMergeMethod
 viewerHasStarred
 viewerPermission
 viewerPossibleCommitEmails
 viewerSubscription
 watchers

This seems a more sustainable model, and opens up some additional questions

  • Where should we checkin this script?
  • could we automate it's execution at page build time
  • what other data do we want to include
  • what sort order/grouping is needed (currently the script is unsorted, I sorted in intellij...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions