Skip to content

Commit

Permalink
hack: Can't generate file name until #186 is resolved
Browse files Browse the repository at this point in the history
- we are relying on issue being created on time ... which is never the
case ..
  • Loading branch information
at15 committed Feb 18, 2020
1 parent aa6843c commit bfa43dc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/weekly/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@ func build() error {
}
return nil
}

// Based on https://github.com/dyweb/dy-bot/blob/master/pkg/util/weeklyutil/weekly.go
// weekly title is Weekly-157
// so @gaocegege just write strconv.Atoi(title[7:len(title)])
// It does not work properly because we don't create weekly every week, which is the case for #183
func fileNameFromIssue(title string) (string, error) {
// FIXME(#186): need to modify weekly generator
return "", errors.New("not implemented, see https://github.com/dyweb/weekly/issues/186")
}

0 comments on commit bfa43dc

Please sign in to comment.