Fedora Package Changelogs - parsing

Does anyone know of a good place to find changelogs for Fedora packages? I'm looking to parse some data from these changelogs and have had difficulty finding anything reliable.
My current thinking is to parse the RPM spec files for the data I'm interested in (date, version #, etc.), but I have been unable to find any good pre-existing libraries to do this.
Additionally, fedora's website outlines standards for these changelogs:
* date developer_name version_num
- entries
However, in my findings many spec files are inconsistent within this format and miss fields (typically the version number).
Anybody have any good ideas on this subject?

If just looking for version, date, etc., you might try parsing yum info <packagename> or rpm -qip <packagename>.
If you specifically need something from the change log, then try yum-changelog plugin or rpm -q --changelog <packagename>. (Not sure, but when using yum-changelog it might add that info to the sqlite database used by yum. Then you could just query that info.)
I don't know of any kind of web service that you could gather this info from.

Related

Find the underlying Docker file you are importing from

I have a docker file that imports from a php tag:
FROM php:5.6.32-apache
Is there a way to see the underlying Dockerfile of the 5.6.32-apache, given that it is not present in https://github.com/docker-library/php/tree/master
In a general sense, the answer is "no". The Dockerfile you want may not exist at all. (There are more ways to make an image than using Dockerfile, after all.)
You can get quite a lot of information about an image using docker inspect, including "Created": "2018-01-04T04:08:09.885971603Z" for php:5.6.32-apache. Using that information I was able to dig back in the repository history to find old commits containing 5.6. Considering further, git log --grep 5.6.32 might do the trick, too, and is easier to try:
There are only two commits with 5.6.32 in the commit message. This is a good place to begin your search. More generally for 5.6, you can see that 5.6.40 was the last one, and it was removed some time ago.

How to configure JIRA_HOME?

How to configure JIRA_HOME? I'm getting an error:
Configured jira.home '/Users/codedroid/Downloads/atlassian-jira-5.1-standalone' must not be a parent directory of the webapp servlet path '/Users/codedroid/Downloads/atlassian-jira-5.1-standalone/atlassian-jira'
Changed it and now I get this:
Configured jira.home '/Users/codedroid/Downloads/atlassian-jira-5.1-standalone/atlassian-jira' must not be the same as the webapp servlet path '/Users/codedroid/Downloads/atlassian-jira-5.1-standalone/atlassian-jira'
Have a look in here, if you're still having troubles please write what did you set JIRA_HOME to be and where did you defined it, thanks.
EDIT
Yea, that documentation is more of 'how to' instead of 'what'. A better explanation of what the JIRA_HOME should be is writen in more details here.
Anyway, if you feel that the documentation are confusing or just bad, you could do everyone a favour and write it at the bottom of the page, under comments, so other could see it easily.
The JIRA documentation does NOT! make it clear even to a seasoned programmer that this JIRA_HOME directory is referring to a data directory and not the installation directory. If there are any JIRA folks out there please fix this outragious misunderstanding in your documentation. JAVA_HOME refers to you guessed it the installation location of java. Its called a 'convention' if you want to invent some other meaning please say so it your documentation and don't wast valuable developer time on installing your productivity tool. Think its not a problem? Google 'must not be the same as the webapp servlet path' and see what you get back. Thanks for wasting my afternoon, and no doubt the time of many others.
(warning) However, avoid locating the JIRA Home Directory inside the JIRA Installation Directory.
This appears in only documentation point and is not the first place people look as noted above
Just create a folder named JIRA, then set the environment variable JIRA_HOME as D:\JIRA, as well as the application properties file.
# jira-application.properties
jira.home = D:\\JIRA
Don't be confused with the JAVA_HOME, JIRA_HOME has absolutely nothing to do with the folder of your zip ball downloaded from official website.
JIRA_HOME is an empty folder where JIRA will create everything it needs in a RUNTIME.
It is NOT a folder where your unpacked JIRA distribution resides.
P.S. yes it is confusing still in 2021

What's the best way to create a report on OpenERP

I try to create a report on OpenERP. There is several methods to do this task (openoffice plugin, XML files, RML files, etc.)
What's the quickest way to do that (and/or the most beautiful) ?
I've only used the RML files and I've been happy with the result. I haven't tried the OpenOffice method, but it seems like the conversion step from SXW to RML would be more hassle. When I edit an RML file, I just save it and click on the report button in the client to try it out. No compilation or conversion necessary. OpenOffice might be useful if I wanted to let business users make minor changes to reports, but I suspect that all the weird data extraction code would confuse them.
I haven't tried the XML report technique, so I can't comment on it.
I assume you've seen the documentation on writing reports. I just noticed a section that talks about changing the corporate default headers, and it only seems to be described for XML reports. I haven't looked any further, but that might be a reason to use XML instead of RML. I know we would like to get rid of the corporate headers for some internal documents.
Web kit Report is the easiest way to make a Report, to install webkit report
sudo apt-get install wkhtmltopdf
and install report_webkit module in OpenERP, it will show the tab in the company, within company you can make simple report using OpenERP GUI,
for Advance report You must learn the maco template,
Thanks..!!
If you know html then webkit report using mako. Webkit reports are very easy to create compare to rml.
For simple reports I prefer using rml reports, by creating an sxw file first and then convert it to rml using the script in the openerp module base_report_designer.
For complex report and also for making the report more beautiful, I prefer to use jasper_reports module. With the help of iReport we can generate beautiful reports. We can also use jdbc datasource which can be connect to our database and pull the data. Subreport is also possible using jasper_reports
There are also other reporting tools like aeroo reports,using xsl file, openoffice plugin etc.
jasper report can be used to create OpenERP report using sql query.
Here is a way I have shown in my post which describes creating a report based on SQL query in OpenERP 7. Please follow this link for the details. Hope this will help others.
http://sajjadhossain.com/2013/06/30/openerp-7-creating-report-using-sql-query/
the most easiest and simple and quickest way to edit,customize and create your own report is editing the .rml files knowledge from experience so far

Rabbitmq erlang client build failed due to file paths problems?

I have been able to build rabbitmq server on ubuntu linux. It came already prepackaged and on making, it is able to start as a service. When i got the client source, i failed to make because it appeared like it needed a folder called ./deps/rabbitmq-server. Analysing the code, i find that the author of the client was accessing the same header files as are found in the server, using include_lib("path to rabbit.hrl e.t.c") in his header file called "amqp_client.hrl". I then decided to add rabbitmq_server in the lib dir of erlang so as its paths are automatically added on start up of the vm. But still this didnot help. There is also another folder which the client references called "rabbit_common" for an include folder he assumes would contain all the .hrl files there. Please assist me in building both the client and server on my ubuntu server, for testing.
Also, if anyone has used RabbitMQ server for IMs, please provide some benchmarks and/or your findings on its throughput, speed and number of users. How can it be compared to ejabberd?. How can one create AJAX/Jquery/Javascript clients for Web functionality?
thanks
I hope you had made some progress as far as RabbitMQ and ejabberd are concerned.
Below is a link to an interesting discussion that might be of help.
http://old.nabble.com/AMPQ-vs-XMPP-and-RabbitMQ-vs-ejabberd-td17587109.html

I want to use EtherPad (or a clone). My site is running Ruby on Rails. API or local install?

I'd like to utilize an etherpad interface on my website. Two questions:
1) is there any site with an etherpad api that I could just call remotely?
2) if not, how much trouble is it to install scala and have the two run concurrently?
Thanks
Check out http://piratepad.net and http://ietherpad.com
And you can embed those etherpad instances using a simple iframe as suggested here: http://etherpad.com/ep/blog/posts/embedding-etherpad
There doesn't seem to be a proper API yet for more robust interactions.
The original etherpad.com has now gone away but at that link there is a list of clones.
The instructions for embedding etherpads seems to have gone away with the rest of etherpad.com but I believe it's as simple as this:
<div id="ep">
<iframe src="http://etherpad.com/foo?fullScreen=1"></iframe>
</div>
Replace "etherpad.com" with whatever clone you're using, "foo" with the name of your pad, and you may or may not want to change that fullScreen=1 to fullScreen=0 (or leave it off altogether).
Installing scala might mean a few things:
Installing the SDK (i.e. scalac)
Installing the runtime
Assuming you mean the runtime, scala runs entirely on the Java Virtual Machine (JVM) so assuming you have 1.5+ JVM installed, you can run scala programs on it easily (Scala just compiles down to bytecode, after all). All a scala program requires is a few JARs on the classpath (scala-library and scala-compiler)
Now there is a better solution Etherpad Lite it is easily installable and embedable. See http://etherpad.org

Resources