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

Add LGitRemote>>defaultBranchName (again) #71

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tinchodias
Copy link
Collaborator

No description provided.

@tinchodias
Copy link
Collaborator Author

More info here: #40

@tinchodias
Copy link
Collaborator Author

tinchodias commented Dec 25, 2022

I recovered the manual test's mechanism to load credentials and personal repo's urls. It worked on my computer like this:

  1. On image's directory, create a file name test_data.json.
  2. Fill with your information:
{
  "urls" : {
    "repositoryUrlHttps" : "https://github.com/tinc...ias/libgit2-pharo-bindings.git",
    "repositoryUrlSsh" : "[email protected]:tinc...dias/libgit2-pharo-bindings.git"
  },
  "credentials" : {
    "username" : "tinc...ias",
    "password" : "a5...2e"
  }
}

where password had my personal token, the one I use to push to GH
and "tin...dias" is my user (not so secret as the token but :p...)

  1. Run LGitManualFetchTest >> testDefaultBranchName

testDataLoaded := true.
(FileSystem workingDirectory / 'test_data.json') exists ifFalse: [ ^ self ].

(FileSystem workingDirectory / 'test_data.json') readStreamDo: [ :stream |
dictionary := MCFileTreeJsonParser parseStream: stream ].

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This MCFileTreeJsonParser doesn't exist in P11

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.

1 participant