Skip to content
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

Open
martindavis opened this issue Jul 30, 2012 · 12 comments
Open

So Many Forks #2

martindavis opened this issue Jul 30, 2012 · 12 comments

Comments

@martindavis
Copy link

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?

@guaka
Copy link
Owner

guaka commented Feb 24, 2013

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.

@dsnopek
Copy link
Collaborator

dsnopek commented Mar 1, 2013

I also think it would be good to consolidate around a single version... I have my own too. :-)

@guaka
Copy link
Owner

guaka commented Mar 1, 2013

@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?

@dsnopek
Copy link
Collaborator

dsnopek commented Mar 1, 2013

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.

@guaka
Copy link
Owner

guaka commented Jan 8, 2014

Adding everyone here seemed the easiest way to get to a canonical version again.
@dsnopek, I've added you and everyone I found in the network graph as collaborators to the repo: @guneysus, @dgtlmoon,@valsteen, @metajon, welcome!

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.

@guneysus
Copy link
Collaborator

guneysus commented Jan 8, 2014

Thanks, by the way, I can not run "node.update" command.
I tested retrieve, create and index commands successfully, and created 3030 content for my Drupal site.

@guneysus
Copy link
Collaborator

I will not be available about 6 months for army. I writed a small interface for nodes that contains date_field (text select widget) guide with http://drupal.stackexchange.com/a/78925/17190

With this way, I created 3030 nodes and date_fields successfully.

The source code of interface is, and complete project is
https://github.com/guneysus/arsiv/tree/master/markdown
drupal.py is the content generator gets file content from year/month-day.markdown

#!/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']

@dgtlmoon
Copy link
Collaborator

Actually I am the original author of this module, I dont know why guaka has credited to her/him

@guaka
Copy link
Owner

guaka commented Mar 27, 2015

Started this in 2009, haven't much looked at it since then.

Pull requests welcome, also for an deprecated/alternatives section in
README.md

sent from my mobile phone
On Mar 27, 2015 2:53 PM, "Leigh" notifications@github.com wrote:

Actually I am the original author of this module, I dont know why guaka
has credited to her/him


Reply to this email directly or view it on GitHub
#2 (comment)
.

@guaka
Copy link
Owner

guaka commented Mar 27, 2015

(@dgtlmoon I may have been credited because I started it? https://github.com/dgtlmoon/python_drupal_services/commits/master)

@dgtlmoon
Copy link
Collaborator

I don't understand, it says my first commit was 6 years ago and yours was 5

https://github.com/guaka/python_drupal_services
https://github.com/dgtlmoon/python_drupal_services

@guaka
Copy link
Owner

guaka commented Mar 27, 2015

forked from...
screen shot 2015-03-27 at 15 23 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants