Documentation ¶
Overview ¶
Copyright © 2022 Felipe Macias felipem1210@gmail.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2022 Felipe Macias felipem1210@gmail.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2022 Felipe Macias felipem1210@gmail.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- func CheckIfError(err error)
- func GitAdd(t string, r []string)
- func GitCheckout(t string, r []string, b string)
- func GitClone(target string, auth string, r []string, urls []string)
- func GitCommit(t string, r []string, message string)
- func GitCreateBranch(t string, r []string, b string)
- func GitFetch(t string, r []string)
- func GitPull(t string, r []string)
- func GitPush(t string, r []string)
- func GitRebase(t string, r []string, bb string)
- func GitReset(t string, r []string)
- func GitStatus(t string, r []string)
- func ListDirectories(target string) []string
- func LogFatal(f string, err error)
- func ValidateEnv()
- func WritePrsToJson(data MyPrs, json_file string) error
- func WriteReposToJson(data MyRepos, json_file string) error
- type MyPrs
- type MyRepos
- func (myRepos MyRepos) GetGithubRepositoriesInfo(org string) MyRepos
- func (myRepos MyRepos) GithubAssignTeamToRepo(f string, team string)
- func (myRepos MyRepos) GithubCreateRepos(f string) MyRepos
- func (myRepos MyRepos) GithubGetGitUrls(f string, regex string, auth string) []string
- func (myRepos MyRepos) GithubGetOrg(f string) string
- func (myRepos MyRepos) GithubGetRepoNames(f string, regex string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfError ¶
func CheckIfError(err error)
func GitCheckout ¶
func GitCreateBranch ¶
func ListDirectories ¶ added in v0.2.0
func ValidateEnv ¶
func ValidateEnv()
func WritePrsToJson ¶
func WriteReposToJson ¶
Types ¶
type MyPrs ¶
type MyPrs []prInfo
func (MyPrs) GithubCreatePr ¶
func (MyPrs) GithubEditPr ¶ added in v0.1.1
type MyRepos ¶
type MyRepos []*github.Repository
func (MyRepos) GetGithubRepositoriesInfo ¶
func (MyRepos) GithubAssignTeamToRepo ¶ added in v0.3.0
Assigns a github team to a repository