-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So Many Forks #2
Comments
Hi Martin, I don't know. I haven't touched this in a while and I don't have specific plans for this. But only now I'm starting to grok github and it could be a good idea to pull back some changes. What do you think? Also, I came to think that a more permissive license might make sense for this piece of code. This might complicate merging changes, but I guess I can contact dgtlmoon and valsteen about this. |
I also think it would be good to consolidate around a single version... I have my own too. :-) |
@dsnopek - I'm fine with point folks at your version if you promise to be a better maintainer than me ;) What do you think about the license? Should it stay AGPL, or become GPL or even MIT? |
Heh, I'm not saying we should use my version! But I think we should all talk and come up with a way to collaborate. I'm not personally worried about the license so long as it's Open Source... Drupal itself is all GPL, so that has a sort of logic. But I'm not worried about it. |
Adding everyone here seemed the easiest way to get to a canonical version again. I'm unlikely to actually use the code myself anytime soon on a project but I'm happy to look at the code again and any issues here. |
Thanks, by the way, I can not run "node.update" command. |
I will not be available about 6 months for army. I writed a small interface for nodes that contains With this way, I created 3030 nodes and date_fields successfully. The source code of interface is, and complete project is #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#
#import datetime
from services import *
from config import config
def node(year, month, day, title, body, summary=''):
"""docstring for nodecreate"""
#timestamp = int(datetime.date(year, month, day).strftime('%s'))
node = {'type': 'takvim',
'title': title,
'language': 'und',
'summary': summary,
'field_date': {"und":[{"value":{"month":month,"year":year,"day":day}}]},
'body': {'und': {'0': {'value': body,
'format' : 'markdown'
}}},
}
return node
if __name__ == '__main__':
new_node = node(year=1988, month=1, day=31,
title='__TITLE',
body='_BODY',
summary='_Summary')
drupal = DrupalServices(config)
drupal.call('node.create', new_node)
print 'TIME STAMP %s' % new_node['field_date'] |
Actually I am the original author of this module, I dont know why guaka has credited to her/him |
Started this in 2009, haven't much looked at it since then. Pull requests welcome, also for an deprecated/alternatives section in sent from my mobile phone
|
(@dgtlmoon I may have been credited because I started it? https://github.com/dgtlmoon/python_drupal_services/commits/master) |
I don't understand, it says my first commit was 6 years ago and yours was 5 https://github.com/guaka/python_drupal_services |
Hi guaka,
Nice work! This is a great start for Python developers using services. I found the two following forks that seem to have a little more recent updates, but have not been merged into this repo.
Supposed to be official D7 Repo:
https://github.com/dgtlmoon/python_drupal_services
Another recently updated repo:
https://github.com/valsteen/python_drupal_services
Could you please advise as to what to use moving forward?
The text was updated successfully, but these errors were encountered: