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

Feature requeset: same name submissions #1848

Open
euberdeveloper opened this issue Jul 8, 2024 · 1 comment
Open

Feature requeset: same name submissions #1848

euberdeveloper opened this issue Jul 8, 2024 · 1 comment
Labels
enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change

Comments

@euberdeveloper
Copy link

I have a case in which I have submissions (or more precisely old submissions) with the same name.

This piece of code blocks them, but this is problematic, I have to do a directory refactoring just to be able to run JPlag.

My directory structure looks like that:

2023
	ms1
		gr1
		gr2 
		gr3
	ms2
		gr1 
		gr2
		gr3
	ms3
		gr1
		gr2
		gr3
	ms4
		gr1
		gr2
		gr3


2022
	ms1
		gr1
		gr2 
		gr3
	ms2
		gr1
		gr2
		gr3
	ms3
		gr1
		gr2
		gr3
	ms4
		gr1
		gr2
		gr3


2021
	ms1
		gr1 
		gr2 
		gr3
	ms2
		gr1
		gr2
		gr3
	ms3
		gr1
		gr2
		gr3
	ms4
		gr1
		gr2
		gr3

If I am checking in the current submissions "2023/ms1" (milestone1 of all groups in 2023), I would put as old submissions ["2022/ms1", "2021/ms1", "2020/ms1"] (milestone1 of all groups of the previous years 2022,2021,2020).

Hence, ms1 would be "duplicate" for all the previous years.
A solution would be, in case the path is different but the name is the same, to take the shorter parent path to make them different, in this case taking as namess ["2022/ms1", "2021/ms1] instead of ["ms1","ms1"]

@Kr0nox
Copy link
Member

Kr0nox commented Jul 8, 2024

This sounds like it is related to #1445

@tsaglam tsaglam added enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change
Projects
None yet
Development

No branches or pull requests

3 participants