Closed ocefpaf closed 7 years ago
Ah, this email went into my junk folder. I'll have to look at this a little later
I would think that the setup.py file should be able to handle installation of all of the django packages but yes, a user is also going to have to setup the settings.py file which specifies a postgresql server and some system path information. https://github.com/miguelcleon/odm2djangoadmin/blob/master/templatesAndSettings/settings.py
Hi, Filipe, I'm back, how do you want to proceed?
@miguelcleon I am out until 22nd, but I will put a PR together and we can discuss it once I get back.
Hi guys. I was dropping by to see how the conda packaging work is going. I see @ocefpaf was out until Sunday. Let me know if I can help (though I doubt it ...). Thanks!
@miguelcleon and @emiliom the ball is with me now and I need to get a skeleton PR with the boilerplate first before you can help. I will address this as soon as I get in the US. (I am in transit now with flaky/unreliable connections internet.)
@ocefpaf, I know you're still traveling until the 15th. (We saw each other in DC a week ago, though we didn't have a chance to talk about ODM2, much less odm2djangoadmin.)
Still, I was wondering if you've had a chance to make some progress on packaging this and preparing the PR ... Thanks!
Travelling and working :cold_sweat: I will have something later today... Hold on...
I was traveling myself this week and last, I'm back and around now, after the 15th will work also.
@ocefpaf, it is Friday! Don't feel obligated to make progress today -- though it sounds like you're already doing that! Anyway, it can wait till early next week. @miguelcleon, thanks for chiming in.
@ocefpaf, any recent progress on the packaging? I've kept track of exchanges in your PR (#12), but haven't seen any recent activity.
Thanks!
Sorry. No progress. I will make some changes to this PR today to properly package the "data" folder. After that I will need a call @miguelcleon to ask a few questions. How is you next week @miguelcleon? I cannot Monday, but I am free pretty much the rest of the week.
I'll be on vacation next week returning July 12th. I can do something today.
That works. Ping me once you are back. (Sorry again for the long delay here.)
Hi Felipe, I just setup this project again on a new Ubuntu cloud server so it would be a good time for me to work through this with you since I just did it myself. Let me know if you have sometime today or tomorrow.
@miguelcleon I am in Austin for SciPy and I can try either 9:15-12:00 or 14:00-16:30 (Central).
Let me know if that works for you. I will be sprinting on conda-forge here next Saturday and I want to address odm2djangoadmin
.
Ok, either of those times will work just give me a call 2157465974
I'm glad you're connecting, and hope that went well. @ocefpaf, enjoy SciPy!
@ocefpaf how did it work out? Sounds like you had some ideas about how to move forward. Enjoy SciPy, that sounds cool.
Two updates:
great, thanks for the update.
@ocefpaf, were you able to make progress with conda packaging? Thanks.
Sorry but no. My laptop keyboard died :-(
I just got an external keyboard now and I am back on the saddle now.
Filipe P. A. Fernandes Physical Oceanographer
Email: ocefpaf@gmail.com
On Fri, Aug 19, 2016 at 1:53 PM, Emilio Mayorga notifications@github.com wrote:
@ocefpaf https://github.com/ocefpaf, were you able to make progress with conda packaging? Thanks.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/miguelcleon/ODM2-Admin/issues/11#issuecomment-241072230, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6BL6raTHCkmff3z7a3kMglJ-TmlffYks5qhd-HgaJpZM4ISJCo .
I feel your pain. My laptop keyboard was dying a slow death a couple of months ago, until I bought a new one.
@ocefpaf, just wondering if you've been able to make more progress over the last week.
Also, how do you recommend that we track progress on this, besides your individual PR's? Is this old issue a good way to go? Or the even older issue at https://github.com/ODM2/conda-recipes-ODM2/issues/27 ?
FYI, @lsetiawan has some time this week and next to help out with testing or other needs involving the conda packaging work, if it's helpful. Just ping him together with @miguelcleon in your PR's.
@ocefpaf, just wondering if you've been able to make more progress over the last week.
I haven't commit anything yet. Working out some priorities on another front.
Also, how do you recommend that we track progress on this, besides your individual PR's? Is this old issue a good way to go? Or the even older issue at ODM2/conda-recipes-ODM2#27 ?
I'd rather keep things simple. We can use this one as it is pertinent to packaging ODM2-Admin
and ODM2/conda-recipes-ODM2#27 with regard to the conda-package once this is former is closed.
@lsetiawan or @miguelcleon do you have a time for a call later this week? I would like to ask a few questions regarding testing? (It is complicate to make changes before we have a continuous integration testing framework in place.)
@ocefpaf I am available whenever between 8:00 PT to 4:00 PT. Thanks.
@ocefpaf I am available whenever between 8:00 PT to 4:00 PT. Thanks.
How about tomorrow 10:00 PT (14:00 here)? both gtalk and skype username is ocefpaf
.
How about tomorrow 10:00 PT (14:00 here)? both gtalk and skype username is ocefpaf.
I can do that time. I think @miguelcleon should be there too since he is the main developer for this, and knows about ODM2Admin inside and out. Plus I am also new to the whole thing about testing frameworks. Thanks.
I mostly want to get an instance running on my own laptop. Once I can do that I will try to design a simple test to avoid breakages in my following PRs.
That sounds good. @lsetiawan do you just want to have a brief chat today call me at 215-746-5974 in the next hour and we can talk about recent changes I've made.
@miguelcleon Sure. I will be having lunch soon. Would 1:00 PT work?
@ocefpaf 10 AM PT / 1 PM eastern will work to make sure your laptop is setup. let's use gotomeeting so we can do a screen share and I can take control if need be. get Felipe setup Wed, Sep 21, 2016 1:00 PM - 2:00 PM Eastern Daylight Time
Please join my meeting from your computer, tablet or smartphone. https://global.gotomeeting.com/join/896177693
You can also dial in using your phone. United States +1 (571) 317-3122
Access Code: 896-177-693
First GoToMeeting? Try a test session: http://help.citrix.com/getready
@lsetiawan sure, I'll need to make it brief though, I had an early morning and need to head home aroun 4:30 / 1:30 PT.
@ocefpaf 10 AM PT / 1 PM eastern will work
OK.
Let's use gotomeeting so we can do a screen share and I can take control if need be.
Thanks! I need to see how you are setting up and running ODM2-Admin
so we can put a simple .travis.yml
config that does the same and ensure that won't be broken with further changes.
Thanks, all! And @ocefpaf, this sounds good:
I'd rather keep things simple. We can use this [issue] as it is pertinent to packaging ODM2-Admin and ODM2/conda-recipes-ODM2#27 with regard to the conda-package once this is former is closed.
@miguelcleon and @lsetiawan I am in the https://global.gotomeeting.com/join/896177693
@ocefpaf, any updates on progress towards ODM2-Admin packaging? I know the holidays were not the best time to make steady progress .... I just got back myself, and @miguelcleon was away for a week or so. Only @lsetiawan was plugging away steadily :smile_cat:
I saw your brief exchanges with @lsetiawan on his most recent ODM2-Admin commit on his personal fork. He made a couple of earlier commits on his fork (dev
branch) that also seem like relevant improvements towards packaging, separating code from "data" (user configurations), etc.
Thanks. Happy New Year, all!
Hi All,
One thing I'd like to see with this packaging work and changes to settings is adding some switching for enabling or disabling geodjango. In my own development branch https://github.com/miguelcleon/ODM2-Admin/tree/django1.10 I've been working on setting up batch jobs to email time series data. Ideally this should use celery with redis. Geodjango doesn't seem to work with celery though. I also encountered problems running Jupyter Notebooks with Geodjango, so I'd except to continue running into problems that can only be fixed by not using Geodjango for some tasks.
@ocefpaf and @miguelcleon, I see a ton of progress you (and @lsetiawan) have made in the last couple of weeks towards an ODM2-Admin conda packaging.
@ocefpaf, are you in a position to estimate when a first test conda package may be created? Say, next week??
@ocefpaf, are you in a position to estimate when a first test conda package may be created? Say, next week??
Probably not. There are some lingering issues to resolve,
site-packages
.I am tackling 2
this week. Hopefully we can come up with a solution that won't require extra actions after installation to access that data.
Thanks for the update.
@lsetiawan, can you comment on @ocefpaf's 3rd point?
Ok I created a new issue #97
@ocefpaf for your item 2. maybe adding another folder layer would do? we could simply move the folders odm2admin, soilsIngestionExample, templatesAndSettings, and tests into an odm2admin folder.
@ocefpaf Not sure which configuration you are talking about.. Do mean this one: https://github.com/lsetiawan/ODM2-Admin/commit/f95623495ac8f6548bd6b80d9493084b03d6839f
Yes. I do mean those changes.
PS: I am taking a day off today for personal reasons but I will get back to this tomorrow.
Filipe P. A. Fernandes Physical Oceanographer
Email: ocefpaf@gmail.com
On Wed, Jan 25, 2017 at 2:29 PM, Landung Setiawan notifications@github.com wrote:
@ocefpaf https://github.com/ocefpaf Not sure which configuration you are talking about.. Do mean this one: lsetiawan@f956234 https://github.com/lsetiawan/ODM2-Admin/commit/f95623495ac8f6548bd6b80d9493084b03d6839f
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/miguelcleon/ODM2-Admin/issues/11#issuecomment-275174602, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6BL9h_M_qGZ3TNq9qYxrgGUOsTfR_Iks5rV4ZwgaJpZM4ISJCo .
@ocefpaf Okay. Cool. I never implemented this on master. I will get working on that. Thanks 😸
I think this issue can be closed now. We are going in the direction of using Docker atm to ship ODM2-Admin. @miguelcleon Regarding the CLI https://github.com/miguelcleon/ODM2-Admin/issues/11#issuecomment-275174602. Do you think we should still implement this or not? I've never implement it.
yeah I think we can close it.
@miguelcleon How about
Regarding the CLI #11 (comment). Do you think we should still implement this or not? I've never implement it.
@miguelcleon I am unfamiliar with packages that use Djando so I don't really know where to start. Usually the boilerplate is to create a
setup.py
that installs the module, but I believe there are more pieces here that needs to be taken care of. Is that assessment correct?xref: https://github.com/ODM2/conda-recipes-ODM2/issues/27