我在CPAN上有一个小模块 - http://search.cpan.org/~bessarabv/。上传cpan数据库中的文件
我犯了一个错误,首先上传的文件是SQL-Easy-0.04.tar.gz,然后是SQL-Easy-0.03.tar.gz之后,CPAN认为0.03是该模块的最新版本。 为了解决这个问题,我要求删除0.04。
0.04被删除,0.03成为最新版本。现在我上传文件SQL-EASY-0.04.tar.gz到CPAN,但我得到的错误,当我试图把它上传:
Submitting query
Could not enter the URL into the database. Reason:
Duplicate entry 'B/BE/BESSARABV/SQL-Easy-0.04.tar.gz' for key 1
This indicates that you probably tried to upload a file that is
already in the database. You will most probably have to rename
your file and try again, because PAUSE doesn't let you upload
a file twice.
我不知道,这是一个正确的行为:我已经删除了该文件,因此数据库中的记录也应该删除。
有没有办法将文件上传到cpan而不重命名?
没有什么能够阻止你释放0.05来解决这个问题。 – Alex
人们可能已经安装了0.04。释放不同的0.04会阻止他们升级。转到新的版本号。 – Quentin