[tode_st] mr create - any trick to get it working for server directories?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[tode_st] mr create - any trick to get it working for server directories?

Paul DeBruicker
Hi Dale,


I tried a

mr create /home/paul/package-cache


and tODE replied:

MCServerDirectoryRepository] aMCServerDirectoryRepository(localhost.localdomain:/home/paul/package-cache)


which makes me thing everything is fine but "mr list" doesn't show that anything has been created.  I think the GLASS user has permissions to create a directory in that path, but would expect an error if not.  



Is there something else I should try?  


Thanks

Paul

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [tode_st] mr create - any trick to get it working for server directories?

Dale Henrichs-3
Ah ... the directory must exist beforehand ... you are creating a repository object not the repository itself ... some validation of the repository should be done by the create command so that an appropriate error can be signalled ...

Dale




On Tue, Jun 10, 2014 at 9:05 AM, Paul DeBruicker <[hidden email]> wrote:
Hi Dale,


I tried a

mr create /home/paul/package-cache


and tODE replied:

MCServerDirectoryRepository] aMCServerDirectoryRepository(localhost.localdomain:/home/paul/package-cache)


which makes me thing everything is fine but "mr list" doesn't show that anything has been created.  I think the GLASS user has permissions to create a directory in that path, but would expect an error if not.



Is there something else I should try?


Thanks

Paul

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [tode_st] mr create - any trick to get it working for server directories?

Dale Henrichs-3
just merged these changes into master:

b737299 44 seconds ago Merge branch 'dev'
02d4c96 12 minutes ago throw an error is GLASS is not pre-installed ... pass error if debugMode in client is not enabled ...
84faccc 20 minutes ago `mr create` doesn't create ... maybe it should

84faccc includes a "confirm to create directory" notification which is what I think you expected to be there...

Dale



On Tue, Jun 10, 2014 at 9:15 AM, Dale Henrichs <[hidden email]> wrote:
Ah ... the directory must exist beforehand ... you are creating a repository object not the repository itself ... some validation of the repository should be done by the create command so that an appropriate error can be signalled ...

Dale




On Tue, Jun 10, 2014 at 9:05 AM, Paul DeBruicker <[hidden email]> wrote:
Hi Dale,


I tried a

mr create /home/paul/package-cache


and tODE replied:

MCServerDirectoryRepository] aMCServerDirectoryRepository(localhost.localdomain:/home/paul/package-cache)


which makes me thing everything is fine but "mr list" doesn't show that anything has been created.  I think the GLASS user has permissions to create a directory in that path, but would expect an error if not.



Is there something else I should try?


Thanks

Paul

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.