Open crguezl opened 6 years ago
Se ha modificado la conducta. Actualizada la versión a 2.1.0
👏 👍 🎆 ¡Great!
Estando en este directorio:
[/tmp/ejemplo]$ ls -la
total 0
drwxr-xr-x 10 casiano wheel 320 31 may 08:37 .
drwxrwxrwt 13 root wheel 416 31 may 19:29 ..
drwxr-xr-x 3 casiano wheel 96 31 may 08:37 egg-4-alu0100792218
drwxr-xr-x 3 casiano wheel 96 31 may 08:37 egg-4-alu0100812534
drwxr-xr-x 3 casiano wheel 96 31 may 08:37 egg-4-alu0100909678
drwxr-xr-x 14 casiano wheel 448 31 may 08:37 egg-4-alu0100945850
drwxr-xr-x 14 casiano wheel 448 31 may 08:37 egg-4-alu0100966589
drwxr-xr-x 14 casiano wheel 448 31 may 08:37 egg-4-alu0100969535
drwxr-xr-x 17 casiano wheel 544 31 may 08:37 egg-4-alu0100970876
drwxr-xr-x 17 casiano wheel 544 31 may 08:37 egg-4-alu0100973914
Al hacer un clone obtenemos este warning:
crguezl> ULL-ESIT-PL-1718> repos /egg-4/
Fetching ULL-ESIT-PL-1718 repositories ( ●) ... done!
egg-4-alu0100969535
egg-4-alu0100973914
egg-4-angeligareta
egg-4-alu0100812534
egg-4-alu0100909678
egg-4-alu0100792218
egg-4-alu0100945850
egg-4-AlberTJ97
egg-4-alu0100970876
egg-4-alu0100966589
egg-4-AlejandroLF
crguezl> ULL-ESIT-PL-1718> clone /egg-4/
undefined method `empty?' for Dir:Class
Cloned into /private/tmp/ejemplo
El error no se produce si el directorio inicialmente está vacío
Me podría indicar la versión de Ruby que tiene instalada ?
[/tmp/ejemplo]$ ruby --version
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
OK. 2.4 está bien
Funciona correctamente una vez actualizado Ruby?
Con
$ ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin17]
no sale.
Sin embargo salen algunos warnings:
crguezl> ULL-ESIT-PL-1718> clone /egg-3/
egg-3-alu0100812534
Fetching origin
Already up to date.
egg-3-angeligareta
Fetching origin
Already up to date.
egg-3-alu0100973914
Fetching origin
Already up to date.
egg-3-alu0100966589
Fetching origin
Already up to date.
egg-3-alu0100970876
Fetching origin
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.
egg-3-alu0100969535
Fetching origin
Already up to date.
egg-3-alu0100845808
Fetching origin
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.
egg-3-alu0100945850
Fetching origin
Already up to date.
egg-3-AlberTJ97
Fetching origin
Already up to date.
egg-3-alu0100909678
Fetching origin
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.
egg-3-alu0100792218
Fetching origin
Already up to date.
egg-3-AlejandroLF
Fetching origin
Already up to date.
Cloned into /private/tmp/ejemplo
Vale, investigo sobre eso.
Cuando el repo existe
clone
da un error:Sería mejor conducta para el profesor que cuando el repo existe el
clone
haga ungit pull --all
y actualice los repos existentes