| zhuyifei1999 added a comment. |
In T192733#4184693, @Xqt wrote:I’ve no glue what this task means to be done here. I neither use toolforge nor Unix.
Symlinks, short for symbolic links, are special files that refer to another file, and this reference is usually resolved by the kernel. See the linked Wikipedia page for details.
Toolforge has these links in the shared clone:
05:00:25 0 ✓ zhuyifei1999@tools-bastion-02: ~$ ls -alF /shared/{pywikibot,pywikipedia}
/shared/pywikibot:
total 8
drwxr-xr-x 2 tools.pywikibot project-tools 4096 Apr 23 16:59 ./
drwxrwsrwt 18 root project-tools 4096 Apr 25 19:03 ../
lrwxrwxrwx 1 tools.pywikibot project-tools 40 Apr 23 16:59 core -> /data/project/pywikibot/public_html/core//shared/pywikipedia: total 20 drwxr-sr-x 4 tools.pywikibot tools.pywikibot 4096 Apr 23 16:59 ./ drwxrwsrwt 18 root project-tools 4096 Apr 25 19:03 ../ lrwxrwxrwx 1 valhallasw project-tools 42 Dec 4 2013 compat -> /data/project/pywikibot/public_html/compat/ drwxrwsr-x 24 tools.russbot project-tools 4096 Dec 3 2013 compat_old/ lrwxrwxrwx 1 valhallasw project-tools 40 Dec 4 2013 core -> /data/project/pywikibot/public_html/core/ drwxrwsr-x 7 tools.russbot project-tools 4096 Dec 3 2013 core_old/ -rw-rw-r-- 1 tools.pywikibot tools.pywikibot 68 Apr 23 17:00 README.md lrwxrwxrwx 1 tools.russbot project-tools 4 Jul 29 2013 rewrite -> core/ lrwxrwxrwx 1 tools.russbot project-tools 6 Jul 29 2013 trunk -> compat/
/shared/pywikibot/trunk -> /shared/pywikibot/compat -> /data/project/pywikibot/public_html/compat/
/shared/pywikibot/rewrite -> /shared/pywikibot/core -> /data/project/pywikibot/public_html/core/
This task is about deleting the links /shared/pywikibot/trunk -> /shared/pywikibot/compat & /shared/pywikibot/rewrite -> /shared/pywikibot/core. After deleting, any files opened prior to deletion will continue to work, but any file that are opened after will get ENOENT 2 No such file or directory. My concern is that some old bots may still refer to those paths, and by removing the links they will break.
Cc: Urbanecm, matej_suchanek, valhallasw, Multichill, MarcoAurelio, Xqt, zhuyifei1999, Framawiki, Aklapper, pywikibot-bugs-list, Dvorapa, 1978Gage2001, aborrero, Chicocvenancio, Magul, Tbscho, MayS, Freddy2001, Mdupont, JJMC89, Avicennasis, srodlund, Luke081515, Gryllida, jayvdb, Dalba, Masti, scfc, Alchimista, coren, Rxy, Krenair, chasemp
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
