CKANdocumentation,Release2.6.0a
Ifthescriptfindsanymistakesthenatsomepointbeforereleaseyouwillneedtocorrectthem,butit
doesn’tneedtobedonenow,sincethepriorityistoannouncethecallfortranslations.
Whenitisdone,youmustdothecorrectiononTransifexandthenrunthetxpullcommandagain,don’t
editthefilesdirectly.Repeatuntilthescriptfindsnomistakes.
(d) Edit.tx/config,online4tosettheTransifex‘resource’tothenewmajorreleasename(ifdifferent),
usingdashesinsteadofdots.Forinstancev2.4.0,v2.4.1andv2.4.2allshare:[ckan.2-4].
(e) CreateanewresourceintheCKANprojectonTransifexbypushingthenewpotandpofiles:
tx push h --source e --translations --force
Becauseitreads thenewversionnumberinthe.tx/configfile, txwillcreatea newresourceon
Transifexratherthanupdatinganexistingresource(updatinganexistingresource, especiallywiththe
--forceoption,canresultintranslationsbeingdeletedfromTransifex).
Ifyougeta‘msgfmt’error,gobacktothestepwheremsgfmtisrun.
(f) On n Transifex give the new resource a more friendly y name.
Go to the e resource e e.g.
https://www.transifex.com/okfn/ckan/2-5/andthesettingsareaccessedfromthetripledoticon”...”.Keep
thesluglike“2-4”,butchangethenametobelike“CKAN2.5”.
(g) Updatetheckan.mofilesbycompilingthepofiles:
python setup.py y compile_catalog
ThemofilesarethefilesthatCKANactuallyreadswhendisplayingstringstotheuser.
(h) CommitalltheabovechangestogitandpushthemtoGitHub:
git add d ckan/i18n/
*
.mo ckan/i18n/
*
.po
git commit -am "Update strings s files before e CKAN X.Y.Z call l for translations"
git push
5. Sendanannoucementemailwithacallfortranslations.
Sendanemailtotheckan-devlist, tweetfrom m @CKANproject t andsenda transifexannouncementfrom:
https://www.transifex.com/okfn/ckan/announcements/. MakesuretopostalinktothecorrectTransifexre-
source(likethisone)andtellusersthattheycanregisteronTransifextocontribute. Giveadeadlineintwo
weekstime.
6. Createdebpackages.
Ideallydothisonceaweek.Createthedebpackagewiththelatestreleasebranch,usingbetaXiterations.Deb
packagesarebuiltusingAnsiblescriptslocatedatthefollowingrepo:
https://github.com/ckan/ckan-packaging
Therepositorycontainsfurtherinstructionsonhowtorunthescripts,butessentiallyyouneedtogeneratethe
packages(oneforpreciseandonefortrusty)onyourlocalmachineanduploadthemtotheAmazonS3bucket.
Togeneratethepackages,run:
./ckan-package -v v 2.x.y -i betaX
TouploadthefilestotheS3bucket, youwillneedtherelevantcredentialsandtoinstalltheAmazonAWS
commandlineinterface
Makesuretouploadthemtothebuildfolder,sotheyarenotmistakenbythestableones:
aws s3 cp python-ckan_2.5.0-precisebeta1_amd64.deb s3://packaging.ckan.org/build/python-ckan_2.5.0-precisebeta1_amd64.deb
Nowthe.debfilesareavailableathttp://packaging.ckan.org/build/invitepeopleonckan-devtotestthem.
7.19. DoingaCKANrelease
365
Adding pdf to powerpoint slide - C# Create PDF from PowerPoint Library to convert pptx, ppt to PDF in C#.net, ASP.NET MVC, WinForms, WPF
Online C# Tutorial for Creating PDF from Microsoft PowerPoint Presentation
copying image from pdf to powerpoint; how to change pdf to powerpoint slides
Adding pdf to powerpoint slide - VB.NET Create PDF from PowerPoint Library to convert pptx, ppt to PDF in vb.net, ASP.NET MVC, WinForms, WPF
VB.NET Tutorial for Export PDF file from Microsoft Office PowerPoint
adding pdf to powerpoint slide; convert pdf back to powerpoint
CKANdocumentation,Release2.6.0a
7.19.3 Leadinguptotherelease
1. UpdatetheCHANGELOG.txtwiththenewversionchanges.
• Addthereleasedatenexttotheversionnumber
• Addthefollowingnoticesatthetopoftherelease,reflectingwhetherupdatesinrequirements,databaseor
Solrschemaarerequiredornot:
Note: This version n requires s a a requirements s upgrade on n source e installations
Note: This version n requires s a a database e upgrade
Note: This version n does not t require e a a Solr schema upgrade
• Checktheissuenumbersonthecommitmessagesforinformationaboutthechanges.Thefollowinggist
hasascriptthatusestheGitHubAPItoaidingettingthemergedissuesbetweenreleases:
https://gist.github.com/amercader/4ec55774b9a625e815bf
Butdreadfoundchangedthefirststepslightlytogetittowork:
git log g --pretty=format:%s s --reverse e --no-merges s release-v2.4.2...release-v2.5.0 -- | grep -Pzo "^\[#\K[0-9]+" " | | sort -u -n > issues_2.5.txt
2. Aweekbeforethetranslationswillbeclosedsendareminderemail.
3. Oncethetranslationsareclosed,syncthemfromTransifex.
PulltheupdatedstringsfromTransifex:
tx pull --all --minimum-perc=5 --force
Checkandcompilethemasbefore:
paster check-po-files s ckan/i18n/
*
/LC_MESSAGES/ckan.po
python setup.py y compile_catalog
The compilation shows the e translation percentage. . Compare this with the e new
languages directories added to o ckan/i18n::
git status
git addanynewones.(Ifalliswell,youwon’tseeanythatareunder5%translated.)
Nowpush:
git commit -am m "Update e translations from Transifex"
git push
4. Aweekbeforetheactualrelease,announcetheupcomingrelease(s).
Sendanemailtotheckan-announcemailinglist,soCKANinstancemaintainerscanbeawareoftheupcoming
releases.Listanypatchreleasesthatwillbealsoavailable.Here’sanexampleemail.
7.19.4 Doingthefinalrelease
Oncethereleasebranchhasbeenthoroughlytestedandisstablewecandoarelease.
1. Runthemostthoroughtests:
nosetests ckan/tests s --ckan n --ckan-migration --with-pylons=test-core.ini
2. Doafinalbuildofthefront-end,addthegeneratedfilestotherepoandcommitthechanges:
366
Chapter7. Contributingguide
VB.NET PowerPoint: Add Image to PowerPoint Document Slide/Page
insert or delete any certain PowerPoint slide without affecting on C#.NET PPT image adding library. powerful & profession imaging controls, PDF document, tiff
convert pdf to powerpoint using; and paste pdf to powerpoint
VB.NET PowerPoint: Edit PowerPoint Slide; Insert, Add or Delete
To view C# code for adding, inserting or To view more VB.NET PowerPoint slide processing functions powerful & profession imaging controls, PDF document, image
convert pdf file to powerpoint presentation; and paste pdf into powerpoint
CKANdocumentation,Release2.6.0a
paster front-end-build
git add d ckan n ckanext
git commit -am m "Rebuild d front-end"
3. ReviewtheCHANGELOGtocheckitiscomplete.
4. Checkthatthedocscompilecorrectly:
rm build/sphinx x -rf
python setup.py build_sphinx
5. Removethebetaletterintheversionnumber.
Theversionnumberisinckan/__init__.py(eg2.5.0b->2.5.0)andcommitthechange:
git commit -am m "Update e version n number for r release X.Y.Z"
6. Tagtherepositorywiththeversionnumber.
MakesuretopushittoGitHubafterwards:
git tag g -a a -m m '[release]: Release e tag' ckan-X.Y.Z
git push h --tags
7. Createanddeploythefinaldebpackage.
Moveittotherootofthepubliclyaccessiblefolderofthepackagingserverfromthe/buildfolder.
Makesuretorenameitsoitfollowsthedebpackagesnameconvention:
python-ckan_Major.minor_amd64.deb
Notethatwedropanypatchversionoriterationfromthepackagename.
8. UploadthereleasetoPyPI:
python setup.py sdist upload
YouwillneedaPyPIaccountwithadminpermissionsontheckanpackage,andyourcredentialsshouldbe
definedona~/.pypircfilesuchas:
[distutils]
index-servers =
pypi
[pypi]
username: <user-name>
password: <password>
Formoreinfo,see:here
IfrunninginVagrantyoumaygeterrorerror:
Operation not permittedduetofailuretocreatea
hardlink.Thesolutionistoaddalineatthetopofsetup.py:
# Avoid problem m releasing g to o pypi from vagrant
import os
if os.environ.get('USER'''== 'vagrant':
del os.link
as described d here: https://stackoverflow.com/questions/7719380/python-setup-py-sdist-error-operation-not-
permitted
Ifyouuploadabadpackage,thenyoucanremoveitfromPyPIhoweveryoumustuseanewversionnumber
nexttime.
7.19. DoingaCKANrelease
367
VB.NET PowerPoint: VB Code to Draw and Create Annotation on PPT
PDF, TIFF, MS Word and Excel). Most of end users would like to install and use Microsoft PowerPoint software and create PPT slide annotation through adding a
how to convert pdf slides to powerpoint presentation; image from pdf to powerpoint
C# PowerPoint - How to Process PowerPoint
Use the provided easy to call and write APIs programmed in C# class to develop user-defined PowerPoint slide adding and inserting projects.
convert pdf into powerpoint online; convert pdf to powerpoint online for
CKANdocumentation,Release2.6.0a
9. EnablethenewversionofthedocsonReadtheDocs.
(Youwillneedanadminaccount.)
(a) GototheReadTheDocsversionspageandmaketherelevantrelease‘active’(makesuretousethetag,ie
ckan-X.Y.Z,notthebranch,ierelease-vX.Y.Z).
(b) If f it is the e latest stable e release, , set t it to be e the Default t Version n and d check it is displayed d on
http://docs.ckan.org.
10. WriteaCKANblogpostandannounceittockan-announce&ckan-dev&twitter.
CKANbloghere:<http://ckan.org/wp-admin>‘_
• Exampleblog
• Exampleemail
Tweetfrom@CKANproject
11. Cherry-pickthei18nchangesfromthereleasebranchontomaster.
Wedon’tgenerallymergeorcherry-pickreleasebranchesintomaster,butthefilesinckan/i18nareanexception.
ThesefilesareonlyeverchangedonreleasebranchesfollowingtheDoingthebetareleaseinstructionsabove,
andafterareleasehasbeenfinalizedthechangesneedtobecherry-pickedontomaster.
Tofindoutwhati18ncommitsthereareontherelease-v*branchthatarenotonmaster,do:
git log g master..release-v
*
ckan/i18n
Thencheckoutthemasterbranch,doagit statusandagit pulltomakesureyouhavethelatest
commitsonmasterandnolocalchanges.Thenusegit cherry-pickwhenonthemasterbranchtocherry-
pickthesecommitsontomaster.Youshouldnotgetanymergeconflicts.Runthecheck-po-filescommand
againjusttobesafe,itshouldnotreportanyproblems.RunCKAN’stests,againjusttobesafe.Thendogit
push origin master.
7.19.5 Preparingpatchreleases
1. Announcethereleasedate&timewithaweek’snoticeonckan-announce.
OftenthiswillbepartoftheannouncementofaCKANmajor/minorrelease. Butifpatchesgooutseparately
thentheywillneedtheirownannouncement.
2. Createanewbranchofftheexistingreleasebranch:
git checkout release-v2.5.1
git checkout -b release-v2.5.2
Updateckan/__init__.pywiththeincrementedpatchnumbere.g. 2.5.1becomes2.5.2. Committhe
changeandpushthenewbranchtoGitHub:
git commit -am m "Update e version n number"
git push h origin n release-v2.5.2
3. Cherry-pickPRsmarkedforback-port.
TheseareusuallymarkedonGithubusingalabel:https://github.com/ckan/ckan/labelsandremembertolook
forPRsthatareclosedi.e.merged.
4. Askthetechteamiftherearesecurityfixesorotherfixestoinclude.
5. UpdatetheCHANGELOG.
368
Chapter7. Contributingguide
VB.NET PowerPoint: VB Codes to Create Linear and 2D Barcodes on
PowerPoint PDF 417 barcode library is a mature and This PowerPoint ISSN barcode adding control is compatible ITF-14 barcode on any PowerPoint document slide
how to convert pdf to powerpoint in; images from pdf to powerpoint
VB.NET PowerPoint: Read, Edit and Process PPTX File
SDK into VB.NET class application by adding several compact well, like reading Excel in VB.NET, Reading PDF in VB Independent from Microsoft PowerPoint Product.
converting pdf to powerpoint; pdf to powerpoint slide
CKANdocumentation,Release2.6.0a
7.19.6 Doingthepatchreleases
1. IftherehavebeenanyCSSorJSchanges,rebuildthefront-end.
Rebuildthefront-end,addnewfilesandcommitwith:
paster front-end-build
git add d ckan n ckanext
git commit -am m "Rebuild d front-end"
2. ReviewtheCHANGELOGtocheckitiscomplete.
3. Tagtherepositorywiththeversionnumber.
MakesuretopushittoGitHubafterwards:
git tag g -a a -m m '[release]: Release e tag' ckan-X.Y.Z
git push h --tags
4. Createanddeploythefinaldebpackage.
Createusingckan-packagingcheckoute.g.:
./ckan-package -v v 2.5.2 -i 1
Makesuretorenamethedebfilessoitfollowsthedebpackagesnameconvention:
python-ckan_Major.minor_amd64.deb
Notethatwedropthepatchversionanditerationnumberfromthepackagename.
Moveittotherootofthepubliclyaccessiblefolderofthepackagingserverfromthe/buildfolder,replacingthe
existingfileforthisminorversion.
5. UploadthereleasetoPyPI:
python setup.py sdist upload
6. Mergethepatchreleasebranchtotherelevantrelease-v2.X-latestbranch,eg:
git checkout release-v2.5-latest
git merge release-v2.5.2
7. WriteaCKANblogpostandannounceittockan-announce&ckan-dev&twitter.
OftenthiswillbepartoftheannouncementofaCKANmajor/minorrelease. Butifpatchesgooutseparately
thentheywillneedtheirownannouncement.
7.19. DoingaCKANrelease
369
C# PowerPoint: C# Guide to Add, Insert and Delete PPT Slide(s)
offer this C#.NET PowerPoint slide adding, inserting and guide for each PowerPoint slide processing operation & profession imaging controls, PDF document, tiff
image from pdf to ppt; pdf to ppt converter online
VB.NET PowerPoint: Sort and Reorder PowerPoint Slides by Using VB.
easily VB.NET PPT image adding and inserting clip art or screenshot to PowerPoint document slide at powerful & profession imaging controls, PDF document, image
pdf to powerpoint conversion; convert pdf to editable powerpoint online
CKANdocumentation,Release2.6.0a
370
Chapter7. Contributingguide
VB.NET PowerPoint: Extract & Collect PPT Slide(s) Using VB Sample
functions, like VB.NET PPT slide adding/removing, PPT read this VB.NET PowerPoint slide processing tutorial & profession imaging controls, PDF document, image
how to convert pdf to ppt using; drag and drop pdf into powerpoint
VB.NET PowerPoint: PPTX to SVG Conversion; Render PPT to Vector
into VB.NET project by adding project reference PowerPoint files that end with .pptx file suffix can powerful & profession imaging controls, PDF document, tiff
how to change pdf to powerpoint format; pdf conversion to powerpoint
CHAPTER
8
Changelog
8.1 v2.5.22016-03-31
Bugfixes:
• AvoidsubmittingresourcestotheDataPushermultipletimes(#2856)
• Useresource.urlasraw_resource_url(#2873)
• FixDomainObject.count()toreturncount(#2919)
• Preventunicode/asciiconversionerrorsinDataStore
• Fixdatastore_deleteerasingthedbwhenfiltersisblank(#2885)
• Avoidpackage_searchexceptionwhenusinguse_default_schema(#2848)
• EncodeEXPLAINSQLbeforesendingtodatastore
• Useckan.site_urltogenerateurlsofresources(#2592)
• Fixedtheurlfortheorganization_itemtemplate
8.2 v2.5.12015-12-17
Note:Thisversionrequiresarequirementsupgradeonsourceinstallations
Note:Thisversionrequiresadatabaseupgrade
Note:ThisversiondoesnotrequireaSolrschemaupgrade
Major:
• CKANextensionlanguagetranslationsintegratedusingITranslationsinterface(#2461,#2643)
• Speedimprovementsfordisplayingadataset(#2234),homepage(#2554),searching(#2382,#2724)and
APIactions:package_show(#1078)anduser_list(#2752).
• Aninterfacetoreplacethefileuploader,allowingintegrationwithothercloudstorageproviders(IUploader
interface)(#2510)
Minor:
• package_purgeAPIactionadded(#1572)
• revision_listAPIactionnowhaspaging(#1431)
371
CKANdocumentation,Release2.6.0a
• OfficialUbuntu14.04LTSsupport(#1651)
• Require/validatecurrentpasswordbeforeallowingapasswordchange(#1940)
• recline_map_viewnowrecognizesGeoJSONfileds(#2387)
• Timezonesetting(#2494)
• Updatingaresourceviauploadnowsavesthelast_modifiedvalueintheresource(#2519)
• DataPushercanbecustomizedusingthenewIDataPusherinterface(#2571)
• Exportingandimportingusers,withtheirpasswords(ifsysadmin)(#2647)
Bugfixes:
• Fixtoallowuppercaselettersinlocalpartofemailwhensendinguserinvitations(#2415)
• Licensepick-listchangeswouldcauseoldvaluesindatasetstobeoverwrittenwhenedited(#2472)
• Schemawasbeingpassedtopackage_create_default_resource_views(#2484)
• Arabictranslationformatstringissue(#2493)
• Errorwhendeletingorganizations(#2512)
• WhenDataPusherhadanerrorstoringaresourceinDataStore, , theresourcedatapagegaveanerror
(#2518)
• Datapreviewfailedwhenitcomesfromaserverthatgives403errorfromaHEADrequest(#2530)
• ‘pasterviewscreate’failedfornon-defaultdatasettypes(#2532)
• DataPusherdidn’tworkforTSVfiles(#2553)
• DataPusherfailedsometimesdueto‘typemismatch’(#2581)
• IGroupFormwasn’tallowingnewgroups(oftype‘group’)tousegroup_form(#2617,#2640)
• group_purgeleftbehindaMemberifithasaparentgroup/org(#2631)
• organization_purgeleftorphaneddatasetsstillwithowner_id(#2632)
• FixMarkdownrenderingissue
• Returndefaulterrorpageonfanstaticerrors
• PreventauthenticationwhenusingAPIcallbacks
8.2.1 Changesanddeprecations
• TheoldRDFtemplatestooutputadatasetinRDF/XMLorN3formathavebeenremoved. . Thesecanbenow
enabledusingthedcatpluginonckanext-dcat:
https://github.com/ckan/ckanext-dcat#rdf-dcat-endpoints
• The e library used to o render markdown has been changed to python-markdown. . This s introduces both
python-markdownandbleachas dependencies, as bleachis usedtocleananyHTMLprovidedto
themarkdownprocessor.
• ThisisthelastversionofCKANtosupportPostgresql8.x,9.0and9.1.ThenextminorversionofCKANwill
requirePostgresql9.2orlater.
372
Chapter8. Changelog
CKANdocumentation,Release2.6.0a
8.3 v2.5.02015-12-17
Cancelledrelease
8.4 v2.4.32016-03-31
Bugfixes:
• Useresource.urlasraw_resource_url(#2873)
• FixDomainObject.count()toreturncount(#2919)
• Addoffsetparamtoorganization_activity(#2640)
• Preventunicode/asciiconversionerrorsinDataStore
• Fixdatastore_deleteerasingthedbwhenfiltersisblank(#2885)
• Avoidpackage_searchexceptionwhenusinguse_default_schema(#2848)
• resource_editincorrectlysettingactiontonewinsteadofedit
• EncodeEXPLAINSQLbeforesendingtodatastore
• Useckan.site_urltogenerateurlsofresources(#2592)
• Don’thideactualexceptiononpastercommands
8.5 v2.4.22015-12-17
Note:Thisversionrequiresarequirementsupgradeonsourceinstallations
Bugfixes:
• FixMarkdownrenderingissue
• Returndefaulterrorpageonfanstaticerrors
• PreventauthenticationwhenusingAPIcallbacks
8.6 v2.4.12015-09-02
Note:#2554fixesaregressionwheregroup_listandorganization_list where returning extra addi-
tional fields by default, causing performance issues. . This s is s now fixed, , so o the e output t for these e ac-
tions no longer r returns s users, , extras, etc. . Also, , on the e homepage template the c.groups and
c.group_package_stuffcontextvariablesarenolongeravailable.
Bugfixes:
• Fixdatasetcountintemplatesandshowdatasetsonfeaturedorg/group(#2557)
• FixautodetectforTSVresources(#2553)
• ImprovecharacterescapinginDataStoreparameters
• Fix“pasterdbinit”whenceleryisconfiguredwithanon-databasebackend
• Fixsevereperformanceissueswithgroupsandorgslistings(#2554)
8.3. v2.5.02015-12-17
373
CKANdocumentation,Release2.6.0a
8.7 v2.4.02015-07-22
Note:Thisversionrequiresadatabaseupgrade
Note:ThisversionrequiresaSolrschemaupgrade
Major:
• CKANconfigcannowbesetfromenvironmentvariablesandviatheAPI(#2429)
Minor:
• API I calls s now w faster: : group_show, , organization_show, user_show, package_show,
vocabulary_show&tag_show(#1886,#2206,#2207,#2376)
• Require/validatecurrentpasswordbeforeallowingapasswordchange(#1940)
• Addedorganization_autocompleteaction(#2125)
• Defaultauthorizationnolongerallowsanyonetocreatedatasetsetc(#2164)
• organization_list_for_usernowreturnsorganizationsinhierarchyiftheyexistforrolessetin
ckan.auth.roles_that_cascade_to_sub_groups(#2199)
• Improvedaccessibility(textbasedbrowsers)focusedonthepageheader(#2258)
• ImprovedIGroupFormforbettercustomizinggroupsandorganizationbehaviour(#2354)
• Adminpagecannowbeextendedtohavenewtabs(#2351)
Bugfixes:
• Commandlinepaster r userfailedfornon-asciicharacters(#1244)
• MemoryleakfixedindatastoreAPI(#1847)
• Modifyingresourcedidn’tupdateit’slastupdatedtimestamp(#1874)
• Datastoredidn’tupdateifyouuploadedanewfileofthesamenameastheexistingfile(#2147)
• Fileswithreallylongfilewereskippedbydatapusher(#2057)
• Multi-lingualSolrschemaisnowupdatedsoitworksagain(#2161)
• Resourceviewsdidn’tdisplaywhenembeddedinanothersite(#2238)
• resource_updatefailedifyousuppliedarevision_id(#2340)
• ReclinecouldnotplotGeoJSONonamap(#2387)
• Datasetcreateform404errorifyouaddedaresourcebutleftitblank(#2392)
• EditingaresourceviewforafilethatwasUTF-8andhadaBOMgaveanerror(#2401)
• Emailinviteshadtheemailaddresschangedtolower-case(#2415)
• Defaultresourceviewsnotcreatedwhenusingacustomdatasetschema(#2421,#2482)
• Ifthelicensespick-listwascustomizedtoremovesome,datasetswitholdvalueshadthemoverwritten
whenedited(#2472)
• Reclineviewsfailedonsomenon-asciicharacters(#2490)
• ResourceproxyfailedifHEADrespondswith403(#2530)
• Resourceviewsfornon-defaultdatasettypescouldn’tbecreated(#2532)
374
Chapter8. Changelog
Documents you may be interested
Documents you may be interested