profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/XAMPPRocky/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

googleforgames/quilkin 583

Quilkin is a non-transparent UDP proxy specifically designed for use with large scale multiplayer dedicated game server deployments, to ensure security, access control, telemetry data, metrics and more.

nikomatsakis/skill-tree 101

Skill-tree rendering

EmbarkStudios/relnotes 46

Automatic GitHub Release Notes

XAMPPRocky/ddg 12

A DuckDuckGo API wrapper library in Rust

rust-lang/project-group-template 4

Template for creating Project Groups

XAMPPRocky/csv-to-md 3

A small tool to convert a csv to markdown.

rust-lang/pontoon 2

Localization platform used by Rust

XAMPPRocky/crates.io 1

Source code for crates.io

XAMPPRocky/create-release 1

An Action to create releases via the GitHub Release API

issue commentXAMPPRocky/tokei

No color output

Thank you for your issue! Is this also an issue if you compile from source using something like cargo install --git https://github.com/XAMPPRocky/tokei.git?

hnrw

comment created time in 5 hours

PullRequestReviewEvent

pull request commentXAMPPRocky/octocrab

Add support to get repositories content

Thank you for your PR!

However if the specified path is for a directory, the deserialization fails (because the response is a list instead of a single object).

Is it a list or is a Page? As depending on which, it'd change my exact answer, but what you need to do, is implement serde::Deserialize for Content directly, and have the deserialize implementation check if there's one or more items in the response, and always store it in a Vec, then for the single item case it's a vec of one item.

If you want examples of how to have serde accept multiple types, I'd recommend looking at this example. https://serde.rs/string-or-struct.html

crqra

comment created time in 5 hours

pull request commentXAMPPRocky/octocrab

Add example of authenticating a GitHub app

Thank you for your PR!

chinedufn

comment created time in 6 hours

push eventXAMPPRocky/octocrab

Chinedu Francis Nwafili

commit sha b09c388ef2a2d58317b24de5dcc4bff6b52893ab

Add example of authenticating a GitHub app (#111) * Add example of authenticating a GitHub app This commit adds an example of authenticating a GitHub app. It also adds a new method `create_authenticate_as_app_jwt` to the public API. * PR feedback * Apply suggestions from code review * Make auth pub Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>

view details

push time in 6 hours

PR merged XAMPPRocky/octocrab

Add example of authenticating a GitHub app

This commit adds an example of authenticating a GitHub app.

It also adds a new method create_authenticate_as_app_jwt to the public API.

+263 -6

3 comments

11 changed files

chinedufn

pr closed time in 6 hours

push eventchinedufn/octocrab

XAMPPRocky

commit sha 101c21e57a7ff9a4ff7c1537c5f0b5400dd809b0

Make auth pub

view details

push time in 19 hours

pull request commentXAMPPRocky/octocrab

Add example of authenticating a GitHub app

Just going to apply the suggestions now, and get this merged so I can make a new release.

chinedufn

comment created time in 20 hours

push eventchinedufn/octocrab

XAMPPRocky

commit sha 4f8597037525ae21382ab0a05b0aa0204ddc9820

Apply suggestions from code review

view details

push time in 20 hours

push eventXAMPPRocky/octocrab

João Cerqueira

commit sha a057545927d2056d906e6fd645a97b7752b57740

Add support for getting a single repository (#118) * feat: add suport for getting a single repository * docs: add example to get a single repository

view details

push time in 20 hours

PR merged XAMPPRocky/octocrab

Add support for getting a single repository

Fixes #117

  • Add get method in RepoHandler
  • Add get_repo example
+37 -0

1 comment

2 changed files

crqra

pr closed time in 20 hours

issue closedXAMPPRocky/octocrab

Get a single repository

Couldn't find any method to get a single repository.

Would a octocrab.repos("owner", "repo").get() method make sense?

If so and no one else is working on this, I can open a PR for it.

closed time in 20 hours

crqra

pull request commentXAMPPRocky/octocrab

Add support for getting a single repository

Thank you for your PR!

crqra

comment created time in 20 hours

push eventXAMPPRocky/octocrab

João Cerqueira

commit sha 46afd3c471017e30fd7fe71969717a7a5fb7cd41

Add support for updating releases (#116) * feat: add suport for updating releases * docs(releases): fix typo in struct docs

view details

push time in 20 hours

PR merged XAMPPRocky/octocrab

Add support for updating releases

Fixes #115

  • Added builder UpdateReleaseBuilder
  • Added method update in ReleasesHandler
+112 -1

1 comment

1 changed file

crqra

pr closed time in 20 hours

issue closedXAMPPRocky/octocrab

Update releases

Any plans to support the update releases endpoint?

P.S.: Thanks for this library, really nice!

closed time in 20 hours

crqra

pull request commentXAMPPRocky/octocrab

Add support for updating releases

Thank you for your PR, and congrats on your first contribution! 🎉

crqra

comment created time in 20 hours

PullRequestReviewEvent

Pull request review commentXAMPPRocky/octocrab

Add example of authenticating a GitHub app

 use auth::Auth;  pub use self::{     api::{-        actions, activity, current, events, gists, gitignore, issues, licenses, markdown, orgs,-        pulls, repos, search, teams, workflows,+        actions, activity, apps, current, events, gists, gitignore, issues, licenses, markdown,+        orgs, pulls, repos, search, teams, workflows,     },+    auth::create_jwt,
chinedufn

comment created time in 20 hours

PullRequestReviewEvent

Pull request review commentXAMPPRocky/octocrab

Add example of authenticating a GitHub app

+use octocrab::models::{InstallationToken, Repository};+use octocrab::params::apps::CreateInstallationAccessToken;+use octocrab::{create_jwt, Octocrab};++#[tokio::main]+async fn main() -> octocrab::Result<()> {+    let app_id = read_env_var("GITHUB_APP_ID");+    let app_private_key = read_env_var("GITHUB_APP_PRIVATE_KEY");++    let token = create_jwt(app_id.parse::<u64>().unwrap().into(), app_private_key).unwrap();
use octocrab::Octocrab;

#[tokio::main]
async fn main() -> octocrab::Result<()> {
    let app_id = read_env_var("GITHUB_APP_ID");
    let app_private_key = read_env_var("GITHUB_APP_PRIVATE_KEY");

    let token = octocrab::auth::create_jwt(app_id.parse::<u64>().unwrap().into(), app_private_key).unwrap();
chinedufn

comment created time in 20 hours

issue commentXAMPPRocky/octocrab

Get a single repository

Feel free to make a PR for it and any other methods you find missing.

crqra

comment created time in a day

issue commentXAMPPRocky/octocrab

Update releases

Thank you for your issue! I have no immediate need for this myself, but contributions are always welcome so if someone wants to make a PR adding it, I'd be happy to include it.

crqra

comment created time in a day

push eventXAMPPRocky/timetill.rs

Yuki Toyoda

commit sha d721854a613de987ae717564eb881012a69c78d8

update Rust Tokyo (#298)

view details

push time in a day

pull request commentXAMPPRocky/timetill.rs

update Rust Tokyo

Thank you for your PR, and congrats on your first contribution! 🎉

yuk1ty

comment created time in a day

issue closedXAMPPRocky/tokei

How to export output in corresponding file format?

Im using windows version tokei, I can able to see output result in command prompt window, but I could not found option to export into a file? how to do that?

tokei.exe --files inputfile -o json

closed time in 2 days

mageshsankar

issue commentXAMPPRocky/tokei

How to export output in corresponding file format?

Thank you for your issue! You can use > in your shell to direct the output to a file.

tokei.exe --files inputfile -o json > output.json
mageshsankar

comment created time in 2 days

push eventXAMPPRocky/rasn

Erin Power

commit sha 00c1f7c9fd822a631765d77432d21061db84a5b5

Add CHOICE Tag alias.

view details

push time in 2 days

starteddtolnay/path-to-error

started time in 3 days

PullRequestReviewEvent