Would it be wise to package OpenERP for the PyPI or just personal use? - odoo

Recently, I've wanted to deploy OpenERP and also, recently, I learned about Heroku.
I thought about how to deploy OpenERP on Heroku and it came to me that there's no python package for OpenERP.
So I thought about learning how to create python packages and then package up OpenERP for my personal use on GitHub or Launchpad (because OpenERP uses Launchpad and bazaar) and then, if it is useful, submit it to PyPI.
But, first, I'll check with the rest of the world. here for some advice.
Would you recommend me to take this route?
Would it be beneficial to the OpenERP community?
Would it be a wise method of deployment, through a python package?
What are the reasons that the official python packages on PyPI have been abandoned?

OpenERP already has packages and bundles for different O/Ses available. I would advise against creating one specifically for PyPI.
If you create one, please, please commit to maintaining it. If you don't, it too will be abandoned.

Related

Author does not maintain package anymore, what can i do?

I have come across this package https://github.com/januslo/react-native-sunmi-inner-printer
This package can only support react native version 0.61.3 and cannot support the latest version of react native.
I think the author does not maintain this package anymore. What can i do with it? I felt that i want to maintain it, but i am still new to programming.
Can anyone point me a way to maintain this package? I am worried that my apps will fail in the future if nobody maintain this package.
You can try to contact the maintainer of the repo then I see these options:
create a pull request for the repo and wait for approval
ask for ownership or rights to become a project maintainer to merge the PR yourself
fork the repo
use patch-package to patch only locally your changes

I want virtocommerce in my own local repository.(include storefront, platform and modules). How to setup all of these in my solutions?

I want virtocommerce in my own local repository.
storefront is a solution that will configure it according to the following link:
Storefront Source Code Getting Started
And it works.
But I want to have a solution For platforms and modules,
Like the link below:
vc-integrations
But I need the platform and modules to be connected to the github for the latest changes.
I've studied the link below:
Source Code Getting Started
but I do not understand how should I configure for my goals (one solution for platfrom and modules and fork, clone ,upstream for all for get latest versions of them)
We've used to have a single repository and single solution for Virto Commerce Manager and modules (vc-integrations). It was difficult to maintain and release often. That's why the single repository was split into many "1 module per repository" pieces.
We consider that in most cases having only Virto Commerce Manager configured should be sufficient. What's your scenario? Check "Manual module installation from source code" section in Source Code Getting Started to get started.

Appropriate usage, Difference and Exclusivity in installing packages using: npm, bower, ionic, cordova

Yes, I'm aware this has been asked before but the questions were asked in a manner that didn't give me the answer to find out the appropriate usage and if each package manager had exclusive packages that couldn't be found on another.
I understand that the ionic framework has these three frameworks/package managers underneath it and I can obtain the same package into my package making any of these same calls.
npm install [mypackage]
bower install [mypackage]
ionic plugin add [mypackage]
cordova plugin add [mypackage]
I also understand that they rely on each other like so.
Parent>Child [The framework above the other you would need to install the other]
npm>bower
npm>ionic
npm>cordova
npm>ionic[contains cordova]
However from what I've seen so far I don't find any packages that are exclusive to one or the other and was wondering
1. Are there some Packages/Plugins that are exclusive to one package manager?
2. Is it better to make a different call depending on workspaces?
npm- It is called as network packet manager it is just like installing a software or package from terminal without using GUI
bower-It will be used to install the required libraries in our project
cordova plugin add/Ionic plugin add these both commands are same there is no difference between them, but we are using ionic plugin add because we are using Ionic framework.
Having any queries, reply back

How can I subscribe to updates of a package on PyPI?

I would like to be notified every time a new version of Virtualenv is released on PyPI, preferably by email or by RSS feed. Is this possible?
Yes, it's possible.
libraries.io
The open(*) libraries.io service provides an e-mail notification service and RSS release feeds for Python package releases.
An RSS feed URL follows these pattern:
https://libraries.io/pypi/{PACKAGENAME}/versions.atom
Example:
curl -L https://libraries.io/pypi/virtualenv/versions.atom
For the email subscription you need to login via github/gitlab/bitbucket OAuth, but it just requests the email address over OAuth. After login you can browse to
https://libraries.io/pypi/{PACKAGENAME}
and hit the subscribe button to add a package to your subscriptions.
*open as in the server software being open source and the aggregated data being available under a creative commons license.
As of 2018-08, the libraries.io notifications aren't really reliable. For example, the PyPI release history page of a project has a new release and libraries.io doesn't send a notification mail nor updates the RSS feed for 11 days (and counting).
Anitya
Anitya (a.k.a. release-monitoring.org) is another open project for release notification. It originates from the Fedora context and Fedora infrastructure uses it, but it's basically open for anyone to create some email release notifications. Besides PyPI it supports monitoring other release sources.
A small howto:
sign-up/sign-in to release-monitoring.org
check if the PyPI packages you are interested in are already available, otherwise register the missing ones ('add project')
sign-up/sign-in to Fedora Notfications, create a new filter in the email section and add the 'Anything regarding a particular "upstream project"' rule from the Anitya rules listing. There you can specify a comma separated list of project names.
This service is supposed to check for new releases twice a day.
PyPI vs. pyup.io
As of 2018, pypi.org directly doesn't provide similar functionality. It just provides a release feed for all releases. But it links to libraries.io from each package page (for statistics). Pypi also links to similar notification services in the GitHub ecosystem.
For example, pyup.io implements notifications by connecting to one or many of your GitHub repositories - requiring a bunch of broad OAuth GitHub write permissions. It then periodically scans the repository's requirements file and is able to create pull requests if newer dependency versions are available.
Yes, an RSS feed is available from pypi.org, see: https://pypi.org/rss/project/virtualenv/releases.xml
PyPI Notifier watches your projects' requirements.txt files and emails you when a required package is updated.
http://www.pypi-notifier.org
You connect with your GitHub account and select your repos.
If you are interested in this to keep your installation up to date, you can use pip (as suggested on Super User):
$ pip list --outdated
pyflakes (1.2.3) - Latest: 1.3.0 [wheel]
The Warehouse project that powers the
The Python Package Index (PyPI) at PyPI.org had a pull request to add support for "package update feeds" at URLs of the form /rss/{package_name}/updates.xml. That has been closed and in favour of a more general issue for a different, yet-to-be-implemented API.
When/if that goes live, that API will become the most direct and official way to get the updates you're after.
I searched for a solution and https://newreleases.io seems to be perfect and up to date. I could not get email notifications working with libraries.io.
There's now a package called yolk that will check PyPi for updates on your installed packages.
pip install yolk
yolk -l # List all of the installed packages yolk can check
yolk -U # Check PyPi for updates on the installed packages
It doesn't seem to work for Python 3 yet, although there is a Python 3 fork yolk3k. You can schedule this to go once a day and notify you in case there's a new version...

How to upgrade from OpenEp6 to OpenErp7?

I'm newbie in OpenErp and i'm just using basic functionnalities of OpenErp6 and i want to upgrade to OpenErp7.
I'm using it under Ubuntu11..Is there a tool to upgrade it to The 7 version ?because i searched in google and i found that i must uninstall it manually and reinstall the latest version .
Thank you
If you want to keep your data, you have two ways of doing this:
get support from the OpenERP editor: they sell a migration solution, for a not very high price.
get in touch with and contribute to the openupgrade project which tries to build an opensource migration solution. The migration to 7.0 is not yet ready as of today, so you'll need either wait or contribute to get it good enough to migrate your instance.
On the other hand, if you have very little data as you mention in your comment, you can probably migrate by hand be creating a fresh OpenERP 7 instance, and manually recreating your entries in that instance. Obviously, this is not scalable.