-
I think this is mistake to disallow subdirectories.
As a work around, maybe suggest that any such subdirectories (tests, data, etc.) be submitted with the entry as a tarball (.tgz or .txz) with a Makefile rule to unpack the support files. |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 14 replies
-
Those are old entries. But the idea is that the tarball must only have one directory. One could include another archive in it if they wished. See the source code to txzchk for examples of how these are done. It uses fnamchk and mkiocccentry calls txzchk. Hopefully that clarifies it? |
Beta Was this translation helpful? Give feedback.
-
Moreover you can have a Makefile rule that builds the sub-directory as part of some action (say triggered by The judges might, if it is warranted, when releasing a winning entry, leave the sub-directories in place. But as @xexyl pointed out in GH-discussioncomment-11691184, the submission compressed tarball cannot contain sub-directories. SUGGESTIONPerhaps, @xexyl, we need a new FAQ about this? And if so, perhaps rule 17 should reference such an FAQ where it talks about no-subdirectory? The FAQ might be "Q: How may I use sub-directories in my submission if Rule 17 disallows them?". What do you think? UPDATE 0P.s., this is why the contest is going to be in pending status for about a month. We knew there would be good suggestions, such as what @SirWumpus raised, to consider before the contest into open status and the rules and guidelines became official. The new repo process is to allow for this sort of feedback. Thanks @SirWumpus |
Beta Was this translation helpful? Give feedback.
-
Status updateAs we understand things, the impact of the above is being coded in "the other repo" .. "the other repo"BTW: "the other repo" is a traditional phrase borrowed the phrase "the other place" as used on the Westminster parliament when we refer to related repos that are not part of this repo, such as the mkiocccentry repo. And while the phrase has its roots in antiquity based on rivalry, we use in jest and good fun. back to the previous sentence :-).. by @xexyl as part of a version 1.2 release of "the other repo". We are sure that when @xexyl completes the work, it will be commented on here. |
Beta Was this translation helpful? Give feedback.
-
I am updating the FAQ now .. or rather it's been updated but checking the html file looks okay. I also added the stats of the great fork merge to one of the questions (the one about the date that you added). I thought that would be fun to see. |
Beta Was this translation helpful? Give feedback.
-
Okay FAQ committed .. once merged if it works for you, @SirWumpus, then please let me know. If you think it could be improved then please let me know how and I'll be happy to take care of it! |
Beta Was this translation helpful? Give feedback.
-
Even though @xexyl did a good job of updating the FAQ about Rule 17, we are beginning to doubt the wisdom of no subdirectories. Well the purpose of this "pending state" is, in part, to try and improve the Rules and Guidelines. Maybe this is one such improvement is to allow a submission to use sub-directories to some extent? |
Beta Was this translation helpful? Give feedback.
-
I'll be back later .. will look at finishing it then. Got distracted (deliberately) and now I have to go for a w while ... but at least the mkiocccentry part is done! It is not certain how long I'll be but it could be a while. |
Beta Was this translation helpful? Give feedback.
-
I just thought of something. We need a new check if we're going to do this. Please advise (or put it in the new issue). If we're going to allow subdirectories this will mean we need a maximum number of subdirectories. We don't want to descend down too many. Although the txzchk would just be parsing text if a person submitted something that had 100+ subdirectories that would obviously be a problem. Personally I think that a good max count is 5 or 7 at most. But maybe you have a different number in mind. There are multiple ways I could check this. The simplest is count the number of slashes found, after the initial directory. (So if we want no more than 7 we might do MAX_TARBALL_SUBDIRS as 7 + 1 to account for the first directory + 7). |
Beta Was this translation helpful? Give feedback.
-
And apparently v7 does allow for links. Checking for symlinks is easy and it's already done. Not sure about hard links. Maybe it's already in there ... not sure. Anyway going afk now. |
Beta Was this translation helpful? Give feedback.
-
Oh one more thing that's nice. In v7 the maximum filename length is 99: exactly what we want (and checked as of the most recent version). Of course how to verify its v7 format is another matter entirely. Checking for user names and group names (as the tool does) might be one way. But if someone messes with the tarball manually without corrupting it ... |
Beta Was this translation helpful? Give feedback.
-
Just checked. It should be blocked already as it checks for it not being |
Beta Was this translation helpful? Give feedback.
-
REQUESTWe have just created issue 1060 in mkiocccentry repo. PLEASE CONTINUE THE IMPLEMENTATION DISCUSSION AND DETAILS OVER THERE. Once that issue 1060 in mkiocccentry repo is resolved, then Rule 17 can be adjusted as per issue #40. Given the above, we thank @SirWumpus for starting this discuss and will now close it so that the respective work can be carried out on those two locations. |
Beta Was this translation helpful? Give feedback.
-
I can update rules, guidelines, FAQ and other things tomorrow. |
Beta Was this translation helpful? Give feedback.
REQUEST
We have just created issue 1060 in mkiocccentry repo.
PLEASE CONTINUE THE IMPLEMENTATION DISCUSSION AND DETAILS OVER THERE.
Once that issue 1060 in mkiocccentry repo is resolved, then Rule 17 can be adjusted as per issue #40.
Given the above, we thank @SirWumpus for starting this discuss and will now close it so that the respective work can be carried out on those two locations.