#475 Add check for wrong repo name format during clone
Merged by onosek. Opened by onosek.
onosek/rpkg clone_repo_name  into  master

Download 475.patch

"clone" method in fedpkg accepted repo name with .git extension. It cloned repo successfully, but during configuration of the repo it failed, because of wrong directory name derived from the repo name. Now rpkg checks (and modifies) the correct format at the beginning of the process.

Another commit in PR simplifies methods for getting namespace giturl. There were some unnecessary duplications.

Why not double quotes and dropping the backslashes?

Looks good to me.

Why not double quotes and dropping the backslashes?

No clever reason. I will change it to double-quotes. Quotes in the file are already mixed.

2 new commits added

  • Add check for wrong repo name format during clone
  • Simplify methods for getting namespace giturl

Pull-Request has been merged by onosek

Metadata