|
|
@ -46,12 +46,6 @@ public class GitExtractorController {
|
|
|
|
return "newRepo";
|
|
|
|
return "newRepo";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// @GetMapping("/filtering")
|
|
|
|
|
|
|
|
// public String filter(Model model) {
|
|
|
|
|
|
|
|
// model.addAttribute("filterForm", new FilterForm());
|
|
|
|
|
|
|
|
// return "filtering";
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/sendFilter")
|
|
|
|
@PostMapping("/sendFilter")
|
|
|
|
public String sendFilter(@ModelAttribute FilterForm filterForm, Model model) throws GitAPIException, IOException {
|
|
|
|
public String sendFilter(@ModelAttribute FilterForm filterForm, Model model) throws GitAPIException, IOException {
|
|
|
|
List<Commit> list = gitRepositoryService.getCommits(filterForm.getUrl());
|
|
|
|
List<Commit> list = gitRepositoryService.getCommits(filterForm.getUrl());
|
|
|
|